Fix networking

This commit is contained in:
Joey Hafner 2022-04-28 12:26:37 -07:00
parent 47c9173bbf
commit 2f4c0c1406

View File

@ -30,6 +30,8 @@ services:
environment:
- WG_HOST=vpn.jafner.net
- PASSWORD=um5YEtjki5g6SkRsjyXRaFLNRgsqYk6r
networks:
- web
volumes:
- ${DOCKER_DATA}/wg-easy:/etc/wireguard
cap_add:
@ -42,3 +44,7 @@ services:
- 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
networks:
web:
external: true