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

23 lines
911 B
YAML
Raw Normal View History

services:
wireguard-dashboard:
image: repo.nerthus.nl/app/wireguard-dashboard:05-06-2024
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.
#- public_ip= # <--- Set public IP to ensure the correct one is chosen, defaulting to the IP give by ifconfig.me.
- enable_wg0=true # <--- If set to true, it will try to enable the wg0 (main) interface on startup, to immediatly accept connections. When true, there will be no need to manually start the interface.
ports:
- 10086:10086/tcp
- 51820:51820/udp
volumes:
- wireguard_confs:/etc/wireguard
- wireguard_app:/opt/wireguardashboard/app
cap_add:
- NET_ADMIN
volumes:
wireguard_confs:
wireguard_app: