Add DNS variable

This commit is contained in:
TheThomaas 2023-05-22 19:02:32 +02:00
parent 4605993863
commit f610cf2c00
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ SYNCTHINGDATA=/mnt/syncthing_data
HOST_IP="192.168.1.100"
WG_HOST=example.duckdns.org
WG_DNS=1.1.1.1
PUID=1000
PGID=1000

View file

@ -7,6 +7,7 @@ services:
- $APPDATA/wg-easy:/etc/wireguard
environment:
WG_HOST: $WG_HOST
WG_DEFAULT_DNS: $WG_DNS
ports:
- "51820:51820/udp"
- "51821:51821/tcp"