Add docker-compose example (#114)

* Add docker-compose.yml

* Comment dns entry
This commit is contained in:
ilyazzz
2021-02-01 10:11:20 +02:00
committed by GitHub
parent 2e129c21e6
commit 648ecd0e2a
+21
View File
@@ -0,0 +1,21 @@
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
restart: always