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.
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
services:
|
|
db:
|
|
image: postgres:17-alpine
|
|
ports:
|
|
- 5432
|
|
environment:
|
|
- POSTGRES_USER=listmonk
|
|
- POSTGRES_PASSWORD=listmonk
|
|
- POSTGRES_DB=listmonk
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "pg_isready -U listmonk" ]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 6
|
|
volumes:
|
|
- listmonk-data:/var/lib/postgresql/data
|
|
|
|
app:
|
|
restart: unless-stopped
|
|
image: listmonk/listmonk:v5.0.0
|
|
environment:
|
|
- LISTMONK_app__address=0.0.0.0:9000
|
|
- LISTMONK_db__user=listmonk
|
|
- LISTMONK_db__password=listmonk
|
|
- LISTMONK_db__database=listmonk
|
|
- LISTMONK_db__host=db
|
|
- LISTMONK_db__port=5432
|
|
- LISTMONK_db__ssl_mode=disable
|
|
- LISTMONK_db__max_open=25
|
|
- LISTMONK_db__max_idle=25
|
|
- LISTMONK_db__max_lifetime=300s
|
|
- TZ=Etc/UTC
|
|
depends_on:
|
|
- db
|
|
command: [ sh, -c, "./listmonk --install --idempotent --yes --config '' && ./listmonk --upgrade --yes --config '' && ./listmonk --config ''" ]
|
|
# --config (file) param is set to empty so that listmonk only uses the env vars (below) for config.
|
|
# --install --idempotent ensures that DB installation happens only once on an empty DB, on the first ever start.
|
|
# --upgrade automatically runs any DB migrations when a new image is pulled.
|
|
volumes:
|
|
- ../files/config.toml:/listmonk/config.toml
|
|
- listmonk-uploads:/listmonk/uploads
|
|
|
|
volumes:
|
|
listmonk-uploads:
|
|
listmonk-data:
|
|
driver: local
|