1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00
WGDashboard/docker/compose.yaml

28 lines
1017 B
YAML
Raw Normal View History

2024-11-07 11:25:05 +01:00
services:
wireguard-dashboard:
2024-11-07 11:26:37 +01:00
image: donaldzou/wgdashboard:latest
2024-11-07 11:25:05 +01:00
restart: unless-stopped
container_name: wgdashboard
environment:
- tz=Europe/Amsterdam # <--- Set container timezone, default: Europe/Amsterdam.
- global_dns=9.9.9.9 # <--- Set global DNS address, default: 1.1.1.1.
2024-11-07 17:29:01 +01:00
#- tz= # <--- Set container timezone, default: Europe/Amsterdam.
#- global_dns= # <--- Set global DNS address, default: 1.1.1.1.
2024-11-07 17:29:01 +01:00
2024-11-07 11:25:05 +01:00
#- enable= # <--- Set the interfaces that will be enabled on startup, default: 'none'.
#- isolate= # <--- Set the interfaces that will disallow peer communication, default: 'none'.
#- public_ip= # <--- Set public IP to ensure the correct one is chosen, defaulting to the IP give by ifconfig.me.
ports:
- 10086:10086/tcp
- 51820:51820/udp
volumes:
- conf:/etc/wireguard
- data:/data
cap_add:
- NET_ADMIN
volumes:
conf:
data: