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.
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
services:
|
|
supertokens:
|
|
image: registry.supertokens.io/supertokens/supertokens-postgresql:latest
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
environment:
|
|
- API_KEYS=${API_KEYS:-}
|
|
- POSTGRESQL_CONNECTION_URI="postgresql://$SERVICE_USER_POSTGRESQL:$SERVICE_PASSWORD_POSTGRESQL@postgres:5432/${POSTGRES_DB:-supertokens}"
|
|
healthcheck:
|
|
test: |
|
|
bash -c 'exec 3<>/dev/tcp/127.0.0.1/3567 && echo -e "GET /hello HTTP/1.1\r\nhost: 127.0.0.1:3567\r\nConnection: close\r\n\r\n" >&3 && cat <&3 | grep "Hello"'
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
postgres:
|
|
image: postgres:16
|
|
environment:
|
|
- POSTGRES_USER=$SERVICE_USER_POSTGRESQL
|
|
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRESQL
|
|
- POSTGRES_DB=${POSTGRES_DB:-supertokens}
|
|
volumes:
|
|
- supertokens-postgres-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- pg_isready
|
|
- -U
|
|
- $SERVICE_USER_POSTGRESQL
|
|
- -d
|
|
- ${POSTGRES_DB:-supertokens}
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|