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.
102 lines
3.7 KiB
YAML
102 lines
3.7 KiB
YAML
services:
|
|
hatchet-dashboard:
|
|
image: ghcr.io/hatchet-dev/hatchet/hatchet-dashboard:latest
|
|
command: sh ./entrypoint.sh --config /hatchet/config
|
|
environment:
|
|
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/$POSTGRES_DB
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
rabbitmq:
|
|
condition: service_healthy
|
|
setup-config:
|
|
condition: service_completed_successfully
|
|
migration:
|
|
condition: service_completed_successfully
|
|
volumes:
|
|
- hatchet-certs:/hatchet/certs
|
|
- hatchet-config:/hatchet/config
|
|
hatchet-engine:
|
|
image: ghcr.io/hatchet-dev/hatchet/hatchet-engine:latest
|
|
command: /hatchet/hatchet-engine --config /hatchet/config
|
|
restart: on-failure
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
rabbitmq:
|
|
condition: service_healthy
|
|
setup-config:
|
|
condition: service_completed_successfully
|
|
migration:
|
|
condition: service_completed_successfully
|
|
environment:
|
|
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/$POSTGRES_DB
|
|
- SERVER_GRPC_BIND_ADDRESS=${SERVER_GRPC_BIND_ADDRESS:-0.0.0.0}
|
|
- SERVER_GRPC_INSECURE=${SERVER_GRPC_INSECURE:-t}
|
|
volumes:
|
|
- hatchet-certs:/hatchet/certs
|
|
- hatchet-config:/hatchet/config
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
volumes:
|
|
- postgresql-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
|
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
|
- POSTGRES_DB=${POSTGRES_DB:-hatchet}
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|
|
rabbitmq:
|
|
image: rabbitmq:3-management
|
|
hostname: rabbitmq
|
|
environment:
|
|
- RABBITMQ_DEFAULT_USER=$SERVICE_USER_RABBITMQ
|
|
- RABBITMQ_DEFAULT_PASS=$SERVICE_PASSWORD_RABBITMQ
|
|
- PORT=${RABBITMQ_PORT:-5672}
|
|
healthcheck:
|
|
test: rabbitmq-diagnostics -q ping
|
|
interval: 5s
|
|
timeout: 30s
|
|
retries: 10
|
|
volumes:
|
|
- rabbitmq-data:/var/lib/rabbitmq/
|
|
migration:
|
|
image: ghcr.io/hatchet-dev/hatchet/hatchet-migrate:latest
|
|
command: /hatchet/hatchet-migrate
|
|
restart: no
|
|
exclude_from_hc: true
|
|
environment:
|
|
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/$POSTGRES_DB
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
setup-config:
|
|
image: ghcr.io/hatchet-dev/hatchet/hatchet-admin:latest
|
|
command: /hatchet/hatchet-admin quickstart --skip certs --generated-config-dir /hatchet/config --overwrite=false
|
|
restart: no
|
|
environment:
|
|
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/$POSTGRES_DB
|
|
- SERVER_TASKQUEUE_RABBITMQ_URL=amqp://$SERVICE_USER_RABBITMQ:$SERVICE_PASSWORD_RABBITMQ@rabbitmq:5672/
|
|
- SERVER_AUTH_COOKIE_DOMAIN=${SERVER_AUTH_COOKIE_DOMAIN:-localhost:8080}
|
|
- SERVER_AUTH_COOKIE_INSECURE=${SERVER_AUTH_COOKIE_INSECURE:-t}
|
|
- SERVER_GRPC_BIND_ADDRESS=${SERVER_GRPC_BIND_ADDRESS:-0.0.0.0}
|
|
- SERVER_GRPC_INSECURE=${SERVER_GRPC_INSECURE:-t}
|
|
- SERVER_GRPC_BROADCAST_ADDRESS=${SERVER_GRPC_BROADCAST_ADDRESS:-localhost:7077}
|
|
- SERVER_DEFAULT_ENGINE_VERSION=V1
|
|
- SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS=${SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS:-hatchet-engine:7077}
|
|
volumes:
|
|
- hatchet_certs:/hatchet/certs
|
|
- hatchet_config:/hatchet/config
|
|
depends_on:
|
|
migration:
|
|
condition: service_completed_successfully
|
|
rabbitmq:
|
|
condition: service_healthy
|
|
postgres:
|
|
condition: service_healthy
|