Update Docker

- Configs & Peers Persist Across Container Updates
- Containers Stop time Reduction via Sigterm
- Added Environment Persist and Loading
- Fixed HealthCheck
This commit is contained in:
Noxcis 2024-08-30 00:41:00 -05:00
parent 48905c19f2
commit 1e98b2c4b2

View file

@ -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