forked from EmbarkStudios/wg-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docker-compose example (EmbarkStudios#114)
* Add docker-compose.yml * Comment dns entry
- Loading branch information
1 parent
93b8970
commit 40e8a18
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |