mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
Added minor changes and deletions.
This commit is contained in:
parent
0c5033ff79
commit
145d12b2c8
26
compose.yaml
26
compose.yaml
@ -1,26 +0,0 @@
|
|||||||
services:
|
|
||||||
|
|
||||||
wireguard-dashboard:
|
|
||||||
build: ./
|
|
||||||
container_name: wiregate
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
- SYS_MODULE
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
- wg_net=10.0.0.1/24
|
|
||||||
- wg_port=51820
|
|
||||||
volumes:
|
|
||||||
- wgd_configs:/etc/wireguard
|
|
||||||
- wgd_app:/opt/wireguarddashboard/src
|
|
||||||
ports:
|
|
||||||
- 10086:10086/tcp
|
|
||||||
- 51820:51820/udp
|
|
||||||
sysctls:
|
|
||||||
- net.ipv4.ip_forward=1
|
|
||||||
- net.ipv4.conf.all.src_valid_mark=1
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
wgd_configs:
|
|
||||||
wgd_app:
|
|
@ -12,7 +12,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 10086:10086/tcp
|
- 10086:10086/tcp
|
||||||
- 51820:51820/udp
|
- 51820:51820/udp
|
||||||
volumes:
|
volumes: # Can be customized to only the /opt/wireguarddashboard/src/db folder with the /opt/wireguarddashboard/src/wg-dashboard.ini file.
|
||||||
- ./app:/opt/wireguarddashboard
|
- ./app:/opt/wireguarddashboard
|
||||||
- ./conf:/etc/wireguard
|
- ./conf:/etc/wireguard
|
||||||
cap_add:
|
cap_add:
|
||||||
|
Loading…
Reference in New Issue
Block a user