2024-08-23 06:15:39 +02:00
|
|
|
services:
|
|
|
|
|
|
|
|
wireguard-dashboard:
|
|
|
|
build: ./
|
|
|
|
container_name: wiregate
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SYS_MODULE
|
|
|
|
restart: unless-stopped
|
2024-08-23 23:49:54 +02:00
|
|
|
environment:
|
|
|
|
- wg_net=10.0.0.1/24
|
|
|
|
- wg_port=51820
|
2024-08-24 13:46:06 +02:00
|
|
|
volumes:
|
|
|
|
- wgd_configs:/etc/wireguard
|
2024-08-25 10:01:21 +02:00
|
|
|
- wgd_app:/opt/wireguarddashboard/src
|
2024-08-23 06:15:39 +02:00
|
|
|
ports:
|
|
|
|
- 10086:10086/tcp
|
|
|
|
- 51820:51820/udp
|
|
|
|
sysctls:
|
|
|
|
- net.ipv4.ip_forward=1
|
|
|
|
- net.ipv4.conf.all.src_valid_mark=1
|
|
|
|
|
|
|
|
|
2024-08-24 13:46:06 +02:00
|
|
|
volumes:
|
|
|
|
wgd_configs:
|
2024-08-25 10:01:21 +02:00
|
|
|
wgd_app:
|