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.
48 lines
1020 B
TOML
48 lines
1020 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
webui_domain = "web-ui.${domain}"
|
|
admin_token = "${base64:32}"
|
|
metrics_token = "${base64:32}"
|
|
|
|
[config]
|
|
env = [
|
|
"API_BASE_URL=http://garage:3903",
|
|
"S3_ENDPOINT_URL=http://garage:3900",
|
|
]
|
|
|
|
[[config.domains]]
|
|
serviceName = "garage"
|
|
port = 3900
|
|
host = "${main_domain}"
|
|
|
|
[[config.mounts]]
|
|
filePath = "garage.toml"
|
|
content = """
|
|
metadata_dir = "/var/lib/garage/meta"
|
|
data_dir = "/var/lib/garage/data"
|
|
db_engine = "sqlite"
|
|
metadata_auto_snapshot_interval = "6h"
|
|
|
|
replication_factor = 1
|
|
compression_level = 2
|
|
|
|
rpc_bind_addr = "[::]:3901"
|
|
rpc_public_addr = "localhost:3901" # Required
|
|
rpc_secret = "${hash:64}"
|
|
|
|
[s3_api]
|
|
s3_region = "garage"
|
|
api_bind_addr = "[::]:3900"
|
|
root_domain = ".s3.domain.com"
|
|
|
|
[s3_web] # Optional, if you want to expose bucket as web
|
|
bind_addr = "[::]:3902"
|
|
root_domain = ".web.domain.com"
|
|
index = "index.html"
|
|
|
|
[admin] # Required
|
|
api_bind_addr = "[::]:3903"
|
|
admin_token = "${admin_token}"
|
|
metrics_require_token = true
|
|
metrics_token = "${metrics_token}"
|
|
""" |