mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 15:35:24 +02:00
* fix: update WireGuard Easy template for proper functionality - Changed to named volume (etc_wireguard) instead of host path mount - Added explicit port mappings (51820:51820/udp, 51821:51821/tcp) required for WireGuard - Updated environment variables to use correct WG_HOST and PASSWORD format - Added all required WireGuard environment variables: - WG_PORT, PORT, WG_MTU, WG_DEFAULT_DNS, WG_ALLOWED_IPS - WG_POST_UP/WG_POST_DOWN for iptables rules - Added NET_RAW capability for proper network operations - Simplified template.toml to use WIREGUARD_HOST and WIREGUARD_PASSWORD - Removed explicit networks config to enable Dokploy's isolated deployment - Template now works with Dokploy's automatic network isolation This configuration has been tested and confirmed working with isolated deployment enabled. * Update template.toml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
14 lines
245 B
TOML
14 lines
245 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
wg_password = "${password:32}"
|
|
|
|
[config]
|
|
[[config.domains]]
|
|
serviceName = "wg-easy"
|
|
port = 51821
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
WIREGUARD_HOST = "${main_domain}"
|
|
WIREGUARD_PASSWORD = "${wg_password}"
|