Files
zeekay cf4d0b027e templates.hanzo.ai: 1030-blueprint one-click deploy catalog
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.
2026-07-24 01:46:23 -07:00

75 lines
1.9 KiB
YAML

version: "3.8"
services:
hoppscotch:
image: hoppscotch/hoppscotch:latest
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
migrate:
condition: service_completed_successfully
expose:
- 80
environment:
# Database
DATABASE_URL: "${DATABASE_URL}"
DATA_ENCRYPTION_KEY: "${DATA_ENCRYPTION_KEY}"
HOPP_AIO_ALTERNATE_PORT: "${HOPP_AIO_ALTERNATE_PORT}"
WHITELISTED_ORIGINS: "${WHITELISTED_ORIGINS}"
# Frontend config
VITE_BASE_URL: "${VITE_BASE_URL}"
VITE_SHORTCODE_BASE_URL: "${VITE_SHORTCODE_BASE_URL}"
VITE_ADMIN_URL: "${VITE_ADMIN_URL}"
# Backend config
VITE_BACKEND_GQL_URL: "${VITE_BACKEND_GQL_URL}"
VITE_BACKEND_WS_URL: "${VITE_BACKEND_WS_URL}"
VITE_BACKEND_API_URL: "${VITE_BACKEND_API_URL}"
# Optional UI links
VITE_APP_TOS_LINK: "${VITE_APP_TOS_LINK}"
VITE_APP_PRIVACY_POLICY_LINK: "${VITE_APP_PRIVACY_POLICY_LINK}"
# Subpath access
ENABLE_SUBPATH_BASED_ACCESS: "true"
volumes:
- hoppscotch-data:/app/data
postgres:
image: postgres:16
restart: unless-stopped
expose:
- 5432
environment:
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
volumes:
- hoppscotch-postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 10s
timeout: 5s
retries: 5
migrate:
image: hoppscotch/hoppscotch:latest
depends_on:
postgres:
condition: service_healthy
entrypoint: ["/bin/sh", "-c"]
command:
- |
echo "Running database migrations..."
pnpm dlx prisma migrate deploy && echo "Migration complete!"
environment:
DATABASE_URL: "${DATABASE_URL}"
restart: "no"
volumes:
hoppscotch-data:
hoppscotch-postgres: