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.
51 lines
1.7 KiB
YAML
51 lines
1.7 KiB
YAML
services:
|
|
libredesk:
|
|
image: libredesk/libredesk:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- 9000
|
|
environment:
|
|
# If the password is set during first docker-compose up, the system user password will be set to this value.
|
|
# You can always set system user password later by running `docker exec -it libredesk_app ./libredesk --set-system-user-password`.
|
|
LIBREDESK_SYSTEM_USER_PASSWORD: ${LIBREDESK_SYSTEM_USER_PASSWORD:-}
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
volumes:
|
|
- ../files/uploads:/libredesk/uploads:rw
|
|
- ../files/config.toml:/libredesk/config.toml
|
|
command: [ sh, -c, "./libredesk --install --idempotent-install --yes --config /libredesk/config.toml && ./libredesk --upgrade --yes --config /libredesk/config.toml && ./libredesk --config /libredesk/config.toml" ]
|
|
|
|
# PostgreSQL database
|
|
db:
|
|
image: postgres:17-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
# Only bind on the local interface. To connect to Postgres externally, change this to 0.0.0.0
|
|
- 5432
|
|
environment:
|
|
# Set these environment variables to configure the database, defaults to libredesk.
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-libredesk} -d ${POSTGRES_DB:-libredesk}" ]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 6
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
# Redis
|
|
redis:
|
|
image: redis:7-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
# Only bind on the local interface.
|
|
- 6379
|
|
volumes:
|
|
- redis-data:/data
|
|
|
|
volumes:
|
|
postgres-data:
|
|
redis-data: |