mirror of
https://github.com/hanzo-apps/templates.git
synced 2026-10-30 14:48:30 +00:00
Aggregates five OSS one-click/self-hosting catalogs into the Dokploy blueprint
shape the Hanzo PaaS consumes (meta.json array + blueprints/<id>/{template.toml,
docker-compose.yml,meta.json,logo}):
Dokploy 500 (MIT, verbatim) · Coolify 174 (Apache-2.0) · CapRover 161
(Apache-2.0) · CasaOS 85 (Apache-2.0) · Runtipi 110 (GPL-3.0)
Deduped by app identity; each source + app keeps its upstream license
(ATTRIBUTION.md). Deterministic aggregators + a hard validator (every
template.toml parses with the platform's toml lib, every compose parses as YAML,
meta.json is the expected array, and an over-HTTP fetch probe exercises all
1030) — 0 hard failures. Served natively by hanzoai/static on DOKS (no CDN/Pages/
Vercel); CI builds on the hanzo-build-linux-amd64 arc pool; operator App CR in
crs/ serves it at templates.hanzo.ai.
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
litellm:
|
|
image: ghcr.io/berriai/litellm:main-latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
litellm-db:
|
|
condition: service_healthy
|
|
environment:
|
|
DATABASE_URL: ${DATABASE_URL}
|
|
LITELLM_MASTER_KEY: ${LITELLM_MASTER_KEY}
|
|
UI_USERNAME: ${UI_USERNAME}
|
|
UI_PASSWORD: ${UI_PASSWORD}
|
|
STORE_MODEL_IN_DB: "True"
|
|
|
|
# Provider Keys
|
|
OPENAI_API_KEY: ${OPENAI_API_KEY}
|
|
OPENAI_BASE_URL: ${OPENAI_BASE_URL}
|
|
COHERE_API_KEY: ${COHERE_API_KEY}
|
|
OR_SITE_URL: ${OR_SITE_URL}
|
|
OR_APP_NAME: ${OR_APP_NAME}
|
|
OR_API_KEY: ${OR_API_KEY}
|
|
AZURE_API_BASE: ${AZURE_API_BASE}
|
|
AZURE_API_VERSION: ${AZURE_API_VERSION}
|
|
AZURE_API_KEY: ${AZURE_API_KEY}
|
|
REPLICATE_API_KEY: ${REPLICATE_API_KEY}
|
|
REPLICATE_API_TOKEN: ${REPLICATE_API_TOKEN}
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
|
|
INFISICAL_TOKEN: ${INFISICAL_TOKEN}
|
|
NOVITA_API_KEY: ${NOVITA_API_KEY}
|
|
INFINITY_API_KEY: ${INFINITY_API_KEY}
|
|
|
|
expose:
|
|
- 4000
|
|
|
|
litellm-db:
|
|
image: postgres:16-alpine
|
|
restart: on-failure:5
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
volumes:
|
|
- litellm-db:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
volumes:
|
|
litellm-db: {}
|