mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-21 23:01:39 +01:00
8824786fb4
But the wg0.conf file needs a re-copy on run-time. Working now. Made code modifications and optimizations. Please report bugs to me.
24 lines
901 B
YAML
24 lines
901 B
YAML
services:
|
|
wireguard-dashboard:
|
|
image: repo.nerthus.nl/app/wireguard-dashboard:latest
|
|
restart: unless-stopped
|
|
container_name: wire-dash
|
|
environment:
|
|
#- tz= # <--- Set container timezone, default: Europe/Amsterdam.
|
|
#- global_dns= # <--- Set global DNS address, default: 1.1.1.1.
|
|
- enable_wg0=true # <--- If true, wg0 will be started on container startup. default: false.
|
|
- isolated_peers=false # <--- When set to true, it disallows peers to talk to eachother, setting to false, allows it, default: true.
|
|
#- 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
|
|
- app:/opt/wireguarddashboard/app
|
|
cap_add:
|
|
- NET_ADMIN
|
|
|
|
volumes:
|
|
conf:
|
|
app:
|