mirror of
https://github.com/hanzoai/templates-blueprints.git
synced 2026-10-30 14:55:00 +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.
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
api_key = "${base64:64}"
|
|
postgres_password = "${password}"
|
|
|
|
[config]
|
|
env = [
|
|
"SERVER_URL=https://${main_domain}",
|
|
"SERVER_PORT=8080",
|
|
"AUTHENTICATION_API_KEY=${api_key}",
|
|
"CLIENT_NAME=Evolution",
|
|
"DATABASE_SAVE_MESSAGES=false",
|
|
"WADEBUG=INFO",
|
|
"LOGTYPE=console",
|
|
"POSTGRES_DATABASE=evolution",
|
|
"POSTGRES_USERNAME=postgresql",
|
|
"POSTGRES_PASSWORD=${postgres_password}",
|
|
"DATABASE_CONNECTION_URI=postgres://postgresql:${postgres_password}@evolution-postgres:5432",
|
|
]
|
|
|
|
[[config.mounts]]
|
|
filePath = "gateway.conf"
|
|
content = """
|
|
map $http_upgrade $connection_upgrade {
|
|
default upgrade;
|
|
'' close;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name _;
|
|
absolute_redirect off;
|
|
client_max_body_size 100m;
|
|
|
|
# Evolution GO has no route on "/" (and the API answers 503 until the
|
|
# license is activated), so send visitors to the bundled manager UI.
|
|
location = / {
|
|
return 302 /manager/login;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://evolution-go:8080;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection $connection_upgrade;
|
|
proxy_read_timeout 3600s;
|
|
proxy_send_timeout 3600s;
|
|
}
|
|
}
|
|
"""
|
|
|
|
[[config.domains]]
|
|
serviceName = "evolution-gateway"
|
|
port = 80
|
|
host = "${main_domain}"
|