mirror of
https://github.com/hanzoai/templates-blueprints.git
synced 2026-10-30 14:55:00 +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.
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
services:
|
|
nodebb:
|
|
image: ghcr.io/nodebb/nodebb:latest
|
|
volumes:
|
|
- nodebb_build:/usr/src/app/build
|
|
- nodebb_uploads:/usr/src/app/public/uploads
|
|
- nodebb_config:/opt/config
|
|
command: |
|
|
/bin/bash -c " cat > /usr/src/app/setup.json <<EOL {
|
|
\"defaults\": {
|
|
\"postgres\": {
|
|
\"host\": \"postgres\",
|
|
\"port\": 5432,
|
|
\"database\": \"nodebb\",
|
|
\"username\": \"${SERVICE_USER_POSTGRES}\",
|
|
\"password\": \"${SERVICE_PASSWORD_POSTGRES}\"
|
|
}
|
|
}
|
|
} EOL && tini -- entrypoint.sh "
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- bash -c ':> /dev/tcp/127.0.0.1/4567' || exit 1
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 3
|
|
postgres:
|
|
image: postgres:17.2-alpine
|
|
environment:
|
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
|
- POSTGRES_DB=nodebb
|
|
volumes:
|
|
- nodebb_postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}
|
|
interval: 5s
|
|
timeout: 20s
|
|
retries: 10
|