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.
50 lines
1.7 KiB
YAML
50 lines
1.7 KiB
YAML
services:
|
|
grampsweb:
|
|
image: ghcr.io/gramps-project/grampsweb:25.9.0
|
|
environment:
|
|
- GRAMPSWEB_TREE=${GRAMPSWEB_TREE:-Gramps Web}
|
|
- GRAMPSWEB_CELERY_CONFIG__broker_url=redis://grampsweb_redis:6379/0
|
|
- GRAMPSWEB_CELERY_CONFIG__result_backend=redis://grampsweb_redis:6379/0
|
|
- GRAMPSWEB_RATELIMIT_STORAGE_URI=redis://grampsweb_redis:6379/1
|
|
- GUNICORN_NUM_WORKERS=${GUNICORN_NUM_WORKERS:-2}
|
|
depends_on:
|
|
- grampsweb_redis
|
|
volumes: &a1
|
|
- gramps_users:/app/users
|
|
- gramps_index:/app/indexdir
|
|
- gramps_thumb_cache:/app/thumbnail_cache
|
|
- gramps_cache:/app/cache
|
|
- gramps_secret:/app/secret
|
|
- gramps_db:/root/.gramps/grampsdb
|
|
- gramps_media:/app/media
|
|
- gramps_tmp:/tmp
|
|
healthcheck:
|
|
test: wget -O - http://localhost:5000 > /dev/null 2>&1
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 3
|
|
grampsweb_celery:
|
|
image: ghcr.io/gramps-project/grampsweb:25.9.0
|
|
environment:
|
|
- GRAMPSWEB_TREE=${GRAMPSWEB_TREE:-Gramps Web}
|
|
- GRAMPSWEB_CELERY_CONFIG__broker_url=redis://grampsweb_redis:6379/0
|
|
- GRAMPSWEB_CELERY_CONFIG__result_backend=redis://grampsweb_redis:6379/0
|
|
- GRAMPSWEB_RATELIMIT_STORAGE_URI=redis://grampsweb_redis:6379/1
|
|
depends_on:
|
|
- grampsweb_redis
|
|
volumes:
|
|
<<: *a1
|
|
command: celery -A gramps_webapi.celery worker --loglevel=INFO --concurrency=2
|
|
healthcheck:
|
|
test: SECRET_KEY="$(cat secret/secret)" celery -A gramps_webapi.celery status || exit 1
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 3
|
|
grampsweb_redis:
|
|
image: docker.io/library/redis:7.2.4-alpine
|
|
healthcheck:
|
|
test: redis-cli ping | grep PONG
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 3
|