From 78097ed53b895c268af422b9a35ef0f074196a79 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 --- homelab/server/config/wireguard/docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homelab/server/config/wireguard/docker-compose.yml b/homelab/server/config/wireguard/docker-compose.yml index 1301ad07..4bc79fc8 100644 --- a/homelab/server/config/wireguard/docker-compose.yml +++ b/homelab/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=***REMOVED*** + - PASSWORD=${PASSWORD} networks: - web volumes: