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