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: