#36 for Wireguard

This commit is contained in:
Joey Hafner 2022-11-01 00:35:57 -07:00
parent 634ee60087
commit 1fe092dca6
4 changed files with 7 additions and 13 deletions

View File

@ -13,10 +13,8 @@ services:
loki-timeout: "2s" loki-timeout: "2s"
keep-file: "true" keep-file: "true"
env_file: env_file:
- ./project.env - wireguard.env
#- ../../../homelab.env - wireguard_secrets.env
#- ../../host.env
ports: ports:
- 53820:51820/udp - 53820:51820/udp
networks: networks:

View File

@ -1,8 +0,0 @@
# Independent prject variables
#PASSWORD=***REMOVED***
WG_HOST=vpn.jafner.net
WG_PORT=53820
WG_DEFAULT_DNS=192.168.1.1
# Inherit and modify
DOCKER_DATA=${DOCKER_DATA}/wireguard

View File

@ -1,4 +1,7 @@
# Volumes
DOCKER_DATA=/home/joey/data/wireguard DOCKER_DATA=/home/joey/data/wireguard
# Env
WG_HOST=vpn.jafner.net WG_HOST=vpn.jafner.net
WG_PORT=53820 WG_PORT=53820
WG_DEFAULT_DNS=192.168.1.1 WG_DEFAULT_DNS=192.168.1.1

View File

@ -0,0 +1 @@
PASSWORD=***REMOVED***