mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-10 08:53:51 +08:00
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:
parent
48905c19f2
commit
1e98b2c4b2
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue