Files
wg-ui/docker-compose.yml
phil535 94013adb1d Support for wireguard device name configuration in wg-ui userspace (#146)
* added wireguard device name configuration for both wireguard and wireguard-go

* fixed entrypoint to be /wg-go-ui.sh, fixed client ip range for ipaddr parsing

Co-authored-by: phil535 <loibl2@hotmail.com>
2021-10-11 16:26:57 +02:00

23 lines
618 B
YAML

version: "3.7"
services:
app:
image: embarkstudios/wireguard-ui:latest
entrypoint: "/wireguard-ui"
privileged: true
network_mode: "host"
volumes:
- /opt/wireguard-ui:/data
environment:
- WIREGUARD_UI_LISTEN_ADDRESS=:8080
- WIREGUARD_UI_LOG_LEVEL=debug
- WIREGUARD_UI_DATA_DIR=/data
- WIREGUARD_UI_WG_ENDPOINT=your-andpoint-address:51820
- WIREGUARD_UI_CLIENT_IP_RANGE=192.168.10.0/24
# - WIREGUARD_UI_WG_DNS=192.168.10.0
- WIREGUARD_UI_NAT=true
- WIREGUARD_UI_NAT_DEVICE=eth0
# - WIREGUARD_UI_WG_DEVICE_NAME=wg0
restart: always