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.
67 lines
1.8 KiB
YAML
67 lines
1.8 KiB
YAML
services:
|
|
weblate:
|
|
image: weblate/weblate:2026.7.1.1
|
|
restart: unless-stopped
|
|
depends_on:
|
|
database:
|
|
condition: service_healthy
|
|
cache:
|
|
condition: service_healthy
|
|
volumes:
|
|
- weblate-data:/app/data
|
|
- weblate-cache:/app/cache
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
environment:
|
|
WEBLATE_SITE_DOMAIN: ${WEBLATE_SITE_DOMAIN}
|
|
WEBLATE_SITE_TITLE: ${WEBLATE_SITE_TITLE}
|
|
WEBLATE_ADMIN_NAME: ${WEBLATE_ADMIN_NAME}
|
|
WEBLATE_ADMIN_EMAIL: ${WEBLATE_ADMIN_EMAIL}
|
|
WEBLATE_ADMIN_PASSWORD: ${WEBLATE_ADMIN_PASSWORD}
|
|
WEBLATE_SERVER_EMAIL: ${WEBLATE_SERVER_EMAIL}
|
|
WEBLATE_DEFAULT_FROM_EMAIL: ${WEBLATE_DEFAULT_FROM_EMAIL}
|
|
WEBLATE_ENABLE_HTTPS: ${WEBLATE_ENABLE_HTTPS}
|
|
WEBLATE_ALLOWED_HOSTS: "*"
|
|
WEBLATE_REGISTRATION_OPEN: ${WEBLATE_REGISTRATION_OPEN}
|
|
POSTGRES_HOST: database
|
|
POSTGRES_PORT: 5432
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
REDIS_HOST: cache
|
|
REDIS_PORT: 6379
|
|
|
|
database:
|
|
image: postgres:18-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- weblate-postgres-data:/var/lib/postgresql
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
cache:
|
|
image: redis:8-alpine
|
|
restart: unless-stopped
|
|
command: ["redis-server", "--save", "60", "1", "--loglevel", "warning"]
|
|
volumes:
|
|
- weblate-redis-data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
weblate-data:
|
|
weblate-cache:
|
|
weblate-postgres-data:
|
|
weblate-redis-data:
|