From 33b63a05d4fe4d7d3bb46d3c2be555483ffc71aa Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 9 Aug 2022 15:14:52 -0700 Subject: [PATCH] #36 Init and implement project.env for wireguard --- server/config/wireguard/docker-compose.yml | 4 +++- server/config/wireguard/project.env | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 server/config/wireguard/project.env diff --git a/server/config/wireguard/docker-compose.yml b/server/config/wireguard/docker-compose.yml index aeef7b0..c456b69 100644 --- a/server/config/wireguard/docker-compose.yml +++ b/server/config/wireguard/docker-compose.yml @@ -13,7 +13,9 @@ services: loki-timeout: "2s" keep-file: "true" env_file: - - .env + - ../../../homelab.env + - ../../host.env + - ./project.env ports: - 53820:51820/udp networks: diff --git a/server/config/wireguard/project.env b/server/config/wireguard/project.env new file mode 100644 index 0000000..8b9c1e2 --- /dev/null +++ b/server/config/wireguard/project.env @@ -0,0 +1,8 @@ +# Independent prject variables +PASSWORD=7IoEvL8y4eDWBDeLPwUR322Q2A6TNWGH +WG_HOST=vpn.jafner.net +WG_PORT=53820 +WG_DEFAULT_DNS=192.168.1.1 + +# Inherit and modify +DOCKER_DATA=$DOCKER_DATA/wireguard \ No newline at end of file