Skip to content

Commit

Permalink
Add docker-compose example (EmbarkStudios#114)
Browse files Browse the repository at this point in the history
* Add docker-compose.yml

* Comment dns entry
  • Loading branch information
ilya-zlobintsev authored and justnom committed Feb 3, 2021
1 parent 93b8970 commit 40e8a18
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40e8a18

Please sign in to comment.