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.
93 lines
2.5 KiB
YAML
93 lines
2.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
inngest:
|
|
image: inngest/inngest:v1.12.1
|
|
restart: unless-stopped
|
|
command: >
|
|
inngest start
|
|
--host 0.0.0.0
|
|
--port 8288
|
|
--event-key ${INNGEST_EVENT_KEY}
|
|
--signing-key ${INNGEST_SIGNING_KEY}
|
|
--postgres-uri ${INNGEST_POSTGRES_URI}
|
|
--redis-uri ${INNGEST_REDIS_URI}
|
|
--poll-interval ${INNGEST_POLL_INTERVAL:-60}
|
|
--queue-workers ${INNGEST_QUEUE_WORKERS:-100}
|
|
environment:
|
|
# Core Configuration
|
|
- INNGEST_PORT=8288
|
|
- INNGEST_HOST=0.0.0.0
|
|
- INNGEST_EVENT_KEY=${INNGEST_EVENT_KEY}
|
|
- INNGEST_SIGNING_KEY=${INNGEST_SIGNING_KEY}
|
|
|
|
# Database & Cache
|
|
- INNGEST_POSTGRES_URI=${INNGEST_POSTGRES_URI}
|
|
- INNGEST_REDIS_URI=${INNGEST_REDIS_URI}
|
|
|
|
# Performance Tuning
|
|
- INNGEST_POLL_INTERVAL=${INNGEST_POLL_INTERVAL:-60}
|
|
- INNGEST_QUEUE_WORKERS=${INNGEST_QUEUE_WORKERS:-100}
|
|
- INNGEST_RETRY_INTERVAL=${INNGEST_RETRY_INTERVAL:-1}
|
|
- INNGEST_TICK=${INNGEST_TICK:-150}
|
|
|
|
# Logging
|
|
- INNGEST_LOG_LEVEL=${INNGEST_LOG_LEVEL:-info}
|
|
- INNGEST_JSON=${INNGEST_JSON:-false}
|
|
- INNGEST_VERBOSE=${INNGEST_VERBOSE:-false}
|
|
ports:
|
|
- 8288
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
volumes:
|
|
- inngest_data:/home/inngest/.inngest
|
|
healthcheck:
|
|
test: ['CMD', 'curl', '-f', 'http://localhost:8288/health']
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 30s
|
|
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
|
- PGUSER=${POSTGRES_USER}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- 5432
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
restart: unless-stopped
|
|
command: redis-server --appendonly yes --maxmemory 512mb --maxmemory-policy allkeys-lru --save 60 1000
|
|
sysctls:
|
|
- net.core.somaxconn=1024
|
|
volumes:
|
|
- redis_data:/data
|
|
ports:
|
|
- 6379
|
|
healthcheck:
|
|
test: ['CMD', 'redis-cli', 'ping']
|
|
interval: 10s
|
|
timeout: 3s
|
|
retries: 3
|
|
|
|
volumes:
|
|
inngest_data:
|
|
postgres_data:
|
|
redis_data:
|