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

24 lines
1.0 KiB
YAML
Raw Normal View History

services:
wireguard-dashboard:
2024-10-03 14:45:24 +02:00
image: test:latest
restart: unless-stopped
container_name: wgdashboard
environment:
#- tz= # <--- Set container timezone, default: Europe/Amsterdam.
- global_dns=9.9.9.9 # <--- Set global DNS address, default: 1.1.1.1.
- enable=wg0 # <--- Set the interfaces that will be enabled on startup, default: none. The option "off" is also allowed.
- isolate=wg0 # <--- When set to true, it disallows peers to talk to eachother, setting to false, allows it, default: true.
2024-08-27 09:26:19 +02:00
#- 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
2024-10-03 15:26:30 +02:00
volumes: # Can be customized to only the /opt/wireguarddashboard/src/db folder with the /opt/wireguarddashboard/src/wg-dashboard.ini file.
2024-08-27 09:26:19 +02:00
- ./app:/opt/wireguarddashboard
- ./conf:/etc/wireguard
cap_add:
- NET_ADMIN
volumes:
2024-06-06 00:12:11 +02:00
app:
conf: