mirror of
https://github.com/Dokploy/templates.git
synced 2026-11-11 13:38:07 -06:00
* fix: normalize template.toml mounts across all blueprints (closes #1047) - 79 blueprints declared a bare [[config.mounts]] header (one empty array element in TOML) -> replaced with the repo idiom 'mounts = []' - 38 blueprints carried doc-style mount blocks (name/mountPath/description) that don't match the schema (filePath/content) and are inert in Dokploy's template processor -> removed; their named volumes already live in each docker-compose.yml - penpot: duplicate 'expose' map key made its docker-compose.yml invalid YAML -> merged into one expose list After this, validate-template.ts passes for all 502 blueprints. The remaining validate-docker-compose.ts flags are the intentional host-port templates (mail/game/streaming protocols: poste.io, mailu, oryx, fivem, lodestone, etc.) which the validator does not yet model as exceptions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * feat: validator opt-out marker for intentional host ports + annotate rustdesk The validate-docker-compose CI on this PR was failing on rustdesk's hbbs/hbbr port mappings (21115-21119) — intentional host-published ports for the RustDesk relay/rendezvous protocol, which Traefik cannot route. Adds a '# dokploy: allow-host-ports' top-of-file marker that downgrades the port-mapping errors to warnings for such protocol templates (mail/game/streaming/VPN/remote-desktop), and annotates rustdesk. Other exception templates (poste.io, mailu, oryx, fivem...) can be annotated case-by-case as the weekly audit (#1049) surfaces them. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
30 lines
710 B
TOML
30 lines
710 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
username = "${username}"
|
|
password = "${password:16}"
|
|
secret_key = "${password:32}"
|
|
|
|
[config]
|
|
mounts = []
|
|
[[config.domains]]
|
|
serviceName = "flatnotes"
|
|
port = 8080
|
|
host = "${main_domain}"
|
|
path = "/"
|
|
|
|
[config.env]
|
|
PUID = "1000"
|
|
PGID = "1000"
|
|
FLATNOTES_AUTH_TYPE = "password"
|
|
FLATNOTES_USERNAME = "${username}"
|
|
FLATNOTES_PASSWORD = "${password}"
|
|
FLATNOTES_SECRET_KEY = "${secret_key}"
|
|
FLATNOTES_SESSION_EXPIRY_DAYS = "30"
|
|
FLATNOTES_TOTP_KEY = ""
|
|
FLATNOTES_PATH_PREFIX = ""
|
|
FLATNOTES_QUICK_ACCESS_HIDE = "false"
|
|
FLATNOTES_QUICK_ACCESS_TITLE = "RECENTLY MODIFIED"
|
|
FLATNOTES_QUICK_ACCESS_TERM = "*"
|
|
FLATNOTES_QUICK_ACCESS_SORT = "lastModified"
|
|
FLATNOTES_QUICK_ACCESS_LIMIT = "4"
|