From d245b3f0f40433100eb65ed96c1177de1995a9d6 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 28 Apr 2022 12:26:37 -0700 Subject: [PATCH] Fix networking --- homelab/server/config/wireguard/docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/homelab/server/config/wireguard/docker-compose.yml b/homelab/server/config/wireguard/docker-compose.yml index 8c300f05..4a6dc103 100644 --- a/homelab/server/config/wireguard/docker-compose.yml +++ b/homelab/server/config/wireguard/docker-compose.yml @@ -30,6 +30,8 @@ services: environment: - WG_HOST=vpn.jafner.net - PASSWORD=***REMOVED*** + networks: + - web volumes: - ${DOCKER_DATA}/wg-easy:/etc/wireguard cap_add: @@ -41,4 +43,8 @@ services: labels: - traefik.http.routers.wg-easy.rule=Host(`vpn.jafner.net`) - traefik.http.routers.wg-easy.tls.certresolver=lets-encrypt - - traefik.http.services.wg-easy.loadbalancer.server.port=51821 \ No newline at end of file + - traefik.http.services.wg-easy.loadbalancer.server.port=51821 + +networks: + web: + external: true \ No newline at end of file