2024-06-04 22:49:17 +02:00
|
|
|
services:
|
|
|
|
wireguard-dashboard:
|
2024-08-20 21:48:36 +02:00
|
|
|
image: dselen/wgdashboard:latest
|
2024-06-04 22:49:17 +02:00
|
|
|
restart: unless-stopped
|
2024-08-22 20:38:29 +02:00
|
|
|
container_name: wgdashboard
|
2024-06-04 22:49:17 +02:00
|
|
|
environment:
|
2024-06-05 20:27:24 +02:00
|
|
|
#- tz= # <--- Set container timezone, default: Europe/Amsterdam.
|
|
|
|
#- global_dns= # <--- Set global DNS address, default: 1.1.1.1.
|
2024-08-22 20:38:29 +02:00
|
|
|
- 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-06-05 20:27:24 +02:00
|
|
|
#- public_ip= # <--- Set public IP to ensure the correct one is chosen, defaulting to the IP give by ifconfig.me.
|
2024-06-04 22:49:17 +02:00
|
|
|
ports:
|
|
|
|
- 10086:10086/tcp
|
2024-08-22 20:38:29 +02:00
|
|
|
- 51820:51820/udp
|
2024-06-04 22:49:17 +02:00
|
|
|
volumes:
|
2024-08-20 16:58:25 +02:00
|
|
|
- app:/opt/wireguarddashboard
|
2024-08-22 20:38:29 +02:00
|
|
|
- conf:/etc/wireguard
|
2024-06-04 22:49:17 +02:00
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
|
|
|
|
volumes:
|
2024-06-06 00:12:11 +02:00
|
|
|
app:
|
2024-08-22 20:38:29 +02:00
|
|
|
conf:
|