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.
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
server_password = "${password:32}"
|
|
logging_level = "info"
|
|
file_logging_enabled = "false"
|
|
local_source_enabled = "false"
|
|
metrics_enabled = "false"
|
|
|
|
[[config.domains]]
|
|
serviceName = "nodelink"
|
|
port = 2333
|
|
host = "${main_domain}"
|
|
path = "/"
|
|
|
|
[[config.mounts]]
|
|
filePath = "README.md"
|
|
content = """# NodeLink
|
|
|
|
This template deploys NodeLink, a Lavalink-compatible audio server for Discord music bots and real-time audio systems.
|
|
|
|
## Connection
|
|
|
|
Use the deployed domain as your NodeLink/Lavalink server URL:
|
|
|
|
- Host: `https://${main_domain}`
|
|
- Port: `443` when connecting through the Dokploy domain
|
|
- Password: the generated `server_password` value
|
|
|
|
NodeLink exposes the `/version`, `/v4/stats`, and Lavalink-compatible WebSocket/API endpoints through the same domain.
|
|
|
|
## Local Music
|
|
|
|
The template creates a persistent `nodelink-local-music` volume mounted at `/app/local-music`. Set `local_source_enabled` to `true` before deployment if you want NodeLink to resolve `file:///app/local-music/...` tracks.
|
|
|
|
## Metrics
|
|
|
|
Set `metrics_enabled` to `true` to expose Prometheus metrics at `/v4/metrics`. Keep this disabled unless your deployment is protected and monitored.
|
|
"""
|
|
|
|
[config.env]
|
|
NODELINK_SERVER_PASSWORD = "${server_password}"
|
|
NODELINK_LOGGING_LEVEL = "${logging_level}"
|
|
NODELINK_LOGGING_FILE_ENABLED = "${file_logging_enabled}"
|
|
NODELINK_SOURCES_LOCAL_ENABLED = "${local_source_enabled}"
|
|
NODELINK_METRICS_ENABLED = "${metrics_enabled}"
|