From 211107e2ff1bba3eea02520bfaa317f6a36bff08 Mon Sep 17 00:00:00 2001 From: Djeex Date: Sun, 13 Jul 2025 11:21:06 +0000 Subject: [PATCH] Fixed wrong compose + added WG_PORT --- content/3.serveex/3.security/1.wireguard.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/3.serveex/3.security/1.wireguard.md b/content/3.serveex/3.security/1.wireguard.md index df08057..024b170 100644 --- a/content/3.serveex/3.security/1.wireguard.md +++ b/content/3.serveex/3.security/1.wireguard.md @@ -81,8 +81,6 @@ Paste the following configuration: ```yaml --- -volumes: - etc_wireguard: services: wg-easy: network_mode: host @@ -109,7 +107,9 @@ services: ``` ::alert{type="success"} -✨ __Tip:__ Add the Watchtower label to enable automatic updates +✨ __Tip:__ +- You can also specify your own wireguard port with `WG_PORT` +- Add the Watchtower label to enable automatic updates ```yaml services @@ -249,7 +249,6 @@ sudo docker compose up -d ::alert{type="warning"} :::list{type="warning"} - __Warning:__ If a client device is on the same LAN as the server, edit `wg0.conf` and change the endpoint to the local server IP: - `Endpoint = your-server-ip:51820` ::: ::