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.
135 lines
3.7 KiB
YAML
135 lines
3.7 KiB
YAML
# https://www.rybbit.io/docs/self-hosting-advanced
|
|
|
|
# NOTE: there are two sample HTTP traefik domain entries created:
|
|
# - rybbit_backend (port 3001, path /api),
|
|
# - rybbit_client (port 3002, path /)
|
|
#
|
|
# You should treat these as placeholders - Rybbit only supports HTTPS.
|
|
#
|
|
# You should also update the `BASE_URL` environment variable when
|
|
# updating the domain entries with your custom domain.
|
|
|
|
services:
|
|
rybbit_clickhouse:
|
|
image: clickhouse/clickhouse-server:25.5
|
|
volumes:
|
|
- clickhouse_data:/var/lib/clickhouse
|
|
- ../files/clickhouse_config:/etc/clickhouse-server/config.d
|
|
environment:
|
|
- CLICKHOUSE_DB=${CLICKHOUSE_DB}
|
|
- CLICKHOUSE_USER=${CLICKHOUSE_USER}
|
|
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD}
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"wget",
|
|
"--no-verbose",
|
|
"--tries=1",
|
|
"--spider",
|
|
"http://localhost:8123/ping",
|
|
]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
restart: unless-stopped
|
|
|
|
rybbit_postgres:
|
|
image: postgres:17.5
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
restart: unless-stopped
|
|
|
|
rybbit_redis:
|
|
image: redis:7-alpine
|
|
volumes:
|
|
- redis_data:/data
|
|
# Backs session tracking and the BullMQ queues. noeviction is required by
|
|
# BullMQ (evicting job keys corrupts queues); AOF (everysec) keeps queues
|
|
# durable across restarts.
|
|
command:
|
|
- redis-server
|
|
- --requirepass
|
|
- ${REDIS_PASSWORD}
|
|
- --appendonly
|
|
- "yes"
|
|
- --appendfsync
|
|
- everysec
|
|
- --maxmemory-policy
|
|
- noeviction
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"redis-cli",
|
|
"-a",
|
|
"${REDIS_PASSWORD}",
|
|
"--no-auth-warning",
|
|
"ping",
|
|
]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 5s
|
|
restart: unless-stopped
|
|
|
|
rybbit_backend:
|
|
image: ghcr.io/rybbit-io/rybbit-backend:v2.7.0
|
|
environment:
|
|
- NODE_ENV=production
|
|
- CLICKHOUSE_HOST=http://rybbit_clickhouse:8123
|
|
- CLICKHOUSE_DB=${CLICKHOUSE_DB}
|
|
- CLICKHOUSE_USER=${CLICKHOUSE_USER}
|
|
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD}
|
|
- POSTGRES_HOST=rybbit_postgres
|
|
- POSTGRES_PORT=5432
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- REDIS_HOST=rybbit_redis
|
|
- REDIS_PORT=6379
|
|
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
|
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
|
|
- BASE_URL=${BASE_URL}
|
|
- DISABLE_SIGNUP=${DISABLE_SIGNUP}
|
|
- DISABLE_TELEMETRY=${DISABLE_TELEMETRY}
|
|
depends_on:
|
|
rybbit_clickhouse:
|
|
condition: service_healthy
|
|
rybbit_postgres:
|
|
condition: service_started
|
|
rybbit_redis:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3001/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
restart: unless-stopped
|
|
|
|
rybbit_client:
|
|
image: ghcr.io/rybbit-io/rybbit-client:v2.7.0
|
|
environment:
|
|
- NODE_ENV=production
|
|
- NEXT_PUBLIC_BACKEND_URL=${BASE_URL}
|
|
- NEXT_PUBLIC_DISABLE_SIGNUP=${DISABLE_SIGNUP}
|
|
depends_on:
|
|
- rybbit_backend
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
clickhouse_data:
|
|
postgres_data:
|
|
redis_data:
|