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.
84 lines
2.0 KiB
TOML
84 lines
2.0 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
better_auth_secret = "${base64:32}"
|
|
clickhouse_password = "${password:32}"
|
|
postgres_password = "${password:32}"
|
|
redis_password = "${password:32}"
|
|
|
|
[[config.domains]]
|
|
serviceName = "rybbit_backend"
|
|
port = 3001
|
|
host = "${main_domain}"
|
|
path = "/api"
|
|
|
|
[[config.domains]]
|
|
serviceName = "rybbit_client"
|
|
port = 3002
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
BASE_URL = "http://${main_domain}"
|
|
BETTER_AUTH_SECRET = "${better_auth_secret}"
|
|
DISABLE_SIGNUP = "false"
|
|
DISABLE_TELEMETRY = "false"
|
|
CLICKHOUSE_DB = "analytics"
|
|
CLICKHOUSE_USER = "default"
|
|
CLICKHOUSE_PASSWORD = "${clickhouse_password}"
|
|
POSTGRES_DB = "analytics"
|
|
POSTGRES_USER = "frog"
|
|
POSTGRES_PASSWORD = "${postgres_password}"
|
|
REDIS_PASSWORD = "${redis_password}"
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/enable_json.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<settings>
|
|
<enable_json_type>1</enable_json_type>
|
|
</settings>
|
|
</clickhouse>
|
|
"""
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/logging_rules.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<logger>
|
|
<level>warning</level>
|
|
<console>true</console>
|
|
</logger>
|
|
<query_thread_log remove="remove"/>
|
|
<query_log remove="remove"/>
|
|
<text_log remove="remove"/>
|
|
<trace_log remove="remove"/>
|
|
<metric_log remove="remove"/>
|
|
<asynchronous_metric_log remove="remove"/>
|
|
<session_log remove="remove"/>
|
|
<part_log remove="remove"/>
|
|
<latency_log remove="remove"/>
|
|
<processors_profile_log remove="remove"/>
|
|
</clickhouse>
|
|
"""
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/network.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<listen_host>0.0.0.0</listen_host>
|
|
</clickhouse>
|
|
"""
|
|
|
|
[[config.mounts]]
|
|
filePath = "./clickhouse_config/user_logging.xml"
|
|
content = """
|
|
<clickhouse>
|
|
<profiles>
|
|
<default>
|
|
<log_queries>0</log_queries>
|
|
<log_query_threads>0</log_query_threads>
|
|
<log_processors_profiles>0</log_processors_profiles>
|
|
</default>
|
|
</profiles>
|
|
</clickhouse>
|
|
"""
|