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.
55 lines
1.2 KiB
TOML
55 lines
1.2 KiB
TOML
[variables]
|
|
# Domain & UI
|
|
main_domain = "${domain}"
|
|
locale = "en-US"
|
|
|
|
# DB credentials (safe defaults; user can override in UI)
|
|
db_name = "akaunting"
|
|
db_user = "admin"
|
|
mysql_password = "${password:24}"
|
|
|
|
# Akaunting setup variables
|
|
company_name = "My Company"
|
|
company_email = "${email}"
|
|
admin_email = "${email}"
|
|
admin_password = "${password:24}"
|
|
|
|
# Akaunting table prefix: 3 hex chars + underscore (e.g., "a1f_")
|
|
db_prefix = "${hash:3}_"
|
|
|
|
# Domain routing for the web UI
|
|
[[config.domains]]
|
|
serviceName = "akaunting"
|
|
port = 80
|
|
host = "${main_domain}"
|
|
|
|
[config]
|
|
env = [
|
|
# App
|
|
"APP_URL=${main_domain}",
|
|
"LOCALE=${locale}",
|
|
|
|
# Database (app)
|
|
"DB_HOST=akaunting-db",
|
|
"DB_PORT=3306",
|
|
"DB_NAME=${db_name}",
|
|
"DB_USERNAME=${db_user}",
|
|
"DB_PASSWORD=${mysql_password}",
|
|
"DB_PREFIX=${db_prefix}",
|
|
|
|
# First-run bootstrap (app)
|
|
"COMPANY_NAME=${company_name}",
|
|
"COMPANY_EMAIL=${company_email}",
|
|
"ADMIN_EMAIL=${admin_email}",
|
|
"ADMIN_PASSWORD=${admin_password}",
|
|
|
|
# Database (server)
|
|
"MYSQL_DATABASE=${db_name}",
|
|
"MYSQL_USER=${db_user}",
|
|
"MYSQL_PASSWORD=${mysql_password}",
|
|
"MYSQL_RANDOM_ROOT_PASSWORD=yes"
|
|
]
|
|
|
|
# No custom mounts needed; volumes are already defined in compose.
|
|
[[config.mounts]]
|