compose
This commit is contained in:
commit
c2cf5b7f07
|
|
@ -0,0 +1,26 @@
|
||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
wireguard:
|
||||||
|
image: adrum/wireguard-ui
|
||||||
|
container_name: wireguard-ui
|
||||||
|
privileged: true
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/London
|
||||||
|
- WIREGUARD_UI_LISTEN_ADDRESS=:8468
|
||||||
|
- WIREGUARD_UI_LOG_LEVEL=debug
|
||||||
|
- WIREGUARD_UI_DATA_DIR=/data
|
||||||
|
- WIREGUARD_UI_WG_ENDPOINT=your-endpoint-address:51820
|
||||||
|
- WIREGUARD_UI_CLIENT_IP_RANGE=192.168.10.0/24
|
||||||
|
- WIREGUARD_UI_WG_DNS=1.1.1.1
|
||||||
|
- WIREGUARD_UI_NAT=true
|
||||||
|
- WIREGUARD_UI_NAT_DEVICE=eth0
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- /lib/modules:/lib/modules
|
||||||
|
network_mode: "host"
|
||||||
|
restart: unless-stopped
|
||||||
Loading…
Reference in New Issue