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.
65 lines
2.1 KiB
YAML
65 lines
2.1 KiB
YAML
services:
|
|
mastodon:
|
|
image: lscr.io/linuxserver/mastodon:4.6.3
|
|
environment:
|
|
PUID: "1000"
|
|
PGID: "1000"
|
|
TZ: ${TZ}
|
|
LOCAL_DOMAIN: ${MASTODON_LOCAL_DOMAIN}
|
|
WEB_DOMAIN: ${APP_DOMAIN}
|
|
VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY}
|
|
VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY}
|
|
REDIS_HOST: mastodon-redis
|
|
REDIS_PASSWORD: ${MASTODON_REDIS_PASSWORD}
|
|
REDIS_PORT: "6379"
|
|
DB_HOST: mastodon-db
|
|
DB_USER: tipi
|
|
DB_NAME: mastodon
|
|
DB_PASS: ${MASTODON_POSTGRES_PASSWORD}
|
|
DB_PORT: "5432"
|
|
ES_ENABLED: "false"
|
|
SECRET_KEY_BASE: ${MASTODON_SECRET_KEY_BASE}
|
|
OTP_SECRET: ${MASTODON_OTP_SECRET}
|
|
SMTP_SERVER: ${MASTODON_SMTP_SERVER}
|
|
SMTP_PORT: ${MASTODON_SMTP_PORT}
|
|
SMTP_LOGIN: ${MASTODON_SMTP_LOGIN}
|
|
SMTP_PASSWORD: ${MASTODON_SMTP_PASSWORD}
|
|
SMTP_FROM_ADDRESS: ${MASTODON_SMTP_FROM_ADDRESS}
|
|
S3_ENABLED: "false"
|
|
SIDEKIQ_ONLY: "false"
|
|
SIDEKIQ_DEFAULT: "false"
|
|
SIDEKIQ_THREADS: "5"
|
|
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY: ${MASTODON_ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY}
|
|
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT: ${MASTODON_ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT}
|
|
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY: ${MASTODON_ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY}
|
|
depends_on:
|
|
mastodon-db:
|
|
condition: service_healthy
|
|
mastodon-redis:
|
|
condition: service_healthy
|
|
volumes:
|
|
- mastodon-config:/config
|
|
expose:
|
|
- "443"
|
|
restart: always
|
|
mastodon-db:
|
|
image: postgres:14-alpine
|
|
environment:
|
|
POSTGRES_PASSWORD: ${MASTODON_POSTGRES_PASSWORD}
|
|
POSTGRES_USER: tipi
|
|
POSTGRES_DB: mastodon
|
|
PG_DATA: /var/lib/postgresql/data
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
volumes:
|
|
- mastodon-data:/var/lib/postgresql/data
|
|
restart: always
|
|
mastodon-redis:
|
|
image: redis:7-alpine
|
|
command: redis-server --appendonly yes --replica-read-only no --requirepass "${MASTODON_REDIS_PASSWORD}"
|
|
volumes:
|
|
- mastodon-data:/data
|
|
restart: always
|
|
volumes:
|
|
mastodon-config: {}
|
|
mastodon-data: {}
|