From 1e98b2c4b242e32d6fdcefdac9daf8dcd7ab5e23 Mon Sep 17 00:00:00 2001 From: Noxcis Date: Fri, 30 Aug 2024 00:41:00 -0500 Subject: [PATCH] Update Docker - Configs & Peers Persist Across Container Updates - Containers Stop time Reduction via Sigterm - Added Environment Persist and Loading - Fixed HealthCheck --- compose.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/compose.yaml b/compose.yaml index c708366..2419bf2 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,7 +2,7 @@ services: wireguard-dashboard: build: ./ - container_name: wiregate + container_name: wg-dashboard cap_add: - NET_ADMIN - SYS_MODULE @@ -18,13 +18,14 @@ services: - WGD_PEER_ENDPOINT_ALLOWED_IP=0.0.0.0/0 - WGD_KEEP_ALIVE=21 - WGD_MTU=1420 - - WGD_WELCOME_SESSION=true + - WGD_WELCOME_SESSION=false #set to true for welcome setup volumes: - wgd_configs:/etc/wireguard - wgd_app:/opt/wireguarddashboard/src ports: - - 10086:10086/tcp - - 51820:51820/udp + - 10086:10086/tcp + - 51820:51820/udp + # Add Port Map for New Configs and Restart Container to Apply sysctls: - net.ipv4.ip_forward=1 - net.ipv4.conf.all.src_valid_mark=1