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.
34 lines
1000 B
TOML
34 lines
1000 B
TOML
[variables]
|
|
dashboard_domain = "${domain}"
|
|
gateway_domain = "${domain}"
|
|
# base64 (not just alphanumeric); 96 bytes -> 128 chars
|
|
dashboard_password = "${base64:96}"
|
|
dashboard_secret = "${base64:32}"
|
|
api_key = "${password:32}"
|
|
|
|
[config]
|
|
mounts = []
|
|
|
|
# Web dashboard (HERMES_DASHBOARD=1). Exposed behind Traefik, so Hermes'
|
|
# auth-gated mode kicks in — protect it with the bundled basic-auth provider.
|
|
[[config.domains]]
|
|
serviceName = "hermes"
|
|
port = 9119
|
|
host = "${dashboard_domain}"
|
|
|
|
# OpenAI-compatible gateway API. Disabled and loopback-bound by default,
|
|
# so it must be enabled, bound to 0.0.0.0, and given a bearer token.
|
|
[[config.domains]]
|
|
serviceName = "hermes"
|
|
port = 8642
|
|
host = "${gateway_domain}"
|
|
|
|
[config.env]
|
|
HERMES_DASHBOARD = "1"
|
|
HERMES_DASHBOARD_BASIC_AUTH_USERNAME = "admin"
|
|
HERMES_DASHBOARD_BASIC_AUTH_PASSWORD = "${dashboard_password}"
|
|
HERMES_DASHBOARD_BASIC_AUTH_SECRET = "${dashboard_secret}"
|
|
API_SERVER_ENABLED = "true"
|
|
API_SERVER_HOST = "0.0.0.0"
|
|
API_SERVER_KEY = "${api_key}"
|