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.
79 lines
1.9 KiB
YAML
79 lines
1.9 KiB
YAML
version: "3.8"
|
|
|
|
x-chatwoot-base: &chatwoot-base
|
|
image: chatwoot/chatwoot:v4.12.1
|
|
restart: unless-stopped
|
|
volumes:
|
|
- chatwoot-storage:/app/storage
|
|
environment:
|
|
- FRONTEND_URL=${FRONTEND_URL}
|
|
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
|
|
- FORCE_SSL=${FORCE_SSL}
|
|
- DEFAULT_LOCALE=${DEFAULT_LOCALE}
|
|
- ACTIVE_STORAGE_SERVICE=${ACTIVE_STORAGE_SERVICE}
|
|
- ENABLE_ACCOUNT_SIGNUP=${ENABLE_ACCOUNT_SIGNUP}
|
|
- RAILS_ENV=${RAILS_ENV}
|
|
- NODE_ENV=${NODE_ENV}
|
|
- INSTALLATION_ENV=${INSTALLATION_ENV}
|
|
- RAILS_LOG_TO_STDOUT=${RAILS_LOG_TO_STDOUT}
|
|
- LOG_LEVEL=${LOG_LEVEL}
|
|
- POSTGRES_HOST=${POSTGRES_HOST}
|
|
- POSTGRES_PORT=${POSTGRES_PORT}
|
|
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
|
|
- POSTGRES_USERNAME=${POSTGRES_USERNAME}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- REDIS_URL=${REDIS_URL}
|
|
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
|
|
|
services:
|
|
chatwoot:
|
|
<<: *chatwoot-base
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
entrypoint: docker/entrypoints/rails.sh
|
|
command:
|
|
- sh
|
|
- -c
|
|
- bundle exec rails db:chatwoot_prepare && bundle exec rails s -p 3000 -b 0.0.0.0
|
|
expose:
|
|
- "3000"
|
|
|
|
chatwoot-worker:
|
|
<<: *chatwoot-base
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
command:
|
|
- bundle
|
|
- exec
|
|
- sidekiq
|
|
- -C
|
|
- config/sidekiq.yml
|
|
|
|
postgres:
|
|
image: pgvector/pgvector:pg16
|
|
restart: unless-stopped
|
|
volumes:
|
|
- chatwoot-postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DATABASE}
|
|
- POSTGRES_USER=${POSTGRES_USERNAME}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
restart: unless-stopped
|
|
command:
|
|
- sh
|
|
- -c
|
|
- redis-server --requirepass "$$REDIS_PASSWORD"
|
|
environment:
|
|
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
|
volumes:
|
|
- chatwoot-redis-data:/data
|
|
|
|
volumes:
|
|
chatwoot-storage:
|
|
chatwoot-postgres-data:
|
|
chatwoot-redis-data: |