mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
22 lines
630 B
YAML
22 lines
630 B
YAML
services:
|
|
wireguard-dashboard:
|
|
image: donaldzou/wgdashboard:latest
|
|
restart: unless-stopped
|
|
container_name: wgdashboard
|
|
#environment:
|
|
#- tz= # <--- Set container timezone, default: Europe/Amsterdam.
|
|
#- public_ip= # <--- Set public IP to ensure the correct one is chosen, defaulting to the IP give by ifconfig.me.
|
|
#- wgd_port= # <--- Set the port WGDashboard will use for its web-server.
|
|
ports:
|
|
- 10086:10086/tcp
|
|
- 51820:51820/udp
|
|
volumes:
|
|
- conf:/etc/wireguard
|
|
- data:/data
|
|
cap_add:
|
|
- NET_ADMIN
|
|
|
|
volumes:
|
|
conf:
|
|
data:
|