diff --git a/server/config/wireguard/docker-compose.yml b/server/config/wireguard/docker-compose.yml index 325e4f7..894391d 100644 --- a/server/config/wireguard/docker-compose.yml +++ b/server/config/wireguard/docker-compose.yml @@ -13,10 +13,8 @@ services: loki-timeout: "2s" keep-file: "true" env_file: - - ./project.env - #- ../../../homelab.env - #- ../../host.env - + - wireguard.env + - wireguard_secrets.env ports: - 53820:51820/udp networks: diff --git a/server/config/wireguard/project.env b/server/config/wireguard/project.env deleted file mode 100644 index f0d3dc6..0000000 --- a/server/config/wireguard/project.env +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/server/config/wireguard/.env b/server/config/wireguard/wireguard.env similarity index 63% rename from server/config/wireguard/.env rename to server/config/wireguard/wireguard.env index 1585d98..eadf8fe 100644 --- a/server/config/wireguard/.env +++ b/server/config/wireguard/wireguard.env @@ -1,4 +1,7 @@ +# Volumes DOCKER_DATA=/home/joey/data/wireguard + +# Env WG_HOST=vpn.jafner.net WG_PORT=53820 -WG_DEFAULT_DNS=192.168.1.1 +WG_DEFAULT_DNS=192.168.1.1 \ No newline at end of file diff --git a/server/config/wireguard/wireguard_secrets.env b/server/config/wireguard/wireguard_secrets.env new file mode 100644 index 0000000..42cfe2c --- /dev/null +++ b/server/config/wireguard/wireguard_secrets.env @@ -0,0 +1 @@ +PASSWORD=7IoEvL8y4eDWBDeLPwUR322Q2A6TNWGH \ No newline at end of file