From a5ff12bf2ada92842fc6483792e98c4d1d1c99de Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 28 Apr 2022 12:43:51 -0700 Subject: [PATCH] Try dual env files --- server/config/wireguard/docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/config/wireguard/docker-compose.yml b/server/config/wireguard/docker-compose.yml index 790978e..4bc79fc 100644 --- a/server/config/wireguard/docker-compose.yml +++ b/server/config/wireguard/docker-compose.yml @@ -4,11 +4,14 @@ services: image: weejewel/wg-easy container_name: wireguard_wg-easy restart: unless-stopped + env_file: + - .env + - .secret ports: - 53820:51820/udp environment: - WG_HOST=vpn.jafner.net - - PASSWORD=um5YEtjki5g6SkRsjyXRaFLNRgsqYk6r + - PASSWORD=${PASSWORD} networks: - web volumes: