mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-18 12:53:30 +02:00
94013adb1d
* 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>
22 lines
589 B
YAML
22 lines
589 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app:
|
|
image: embarkstudios/wireguard-ui:userspace
|
|
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.1/24
|
|
# - WIREGUARD_UI_WG_DNS=192.168.10.1
|
|
- WIREGUARD_UI_NAT=true
|
|
- WIREGUARD_UI_NAT_DEVICE=eth0
|
|
# - WIREGUARD_UI_WG_DEVICE_NAME=wg1
|
|
|
|
restart: always
|