Fix networking
This commit is contained in:
parent
47c9173bbf
commit
2f4c0c1406
@ -30,6 +30,8 @@ services:
|
||||
environment:
|
||||
- WG_HOST=vpn.jafner.net
|
||||
- PASSWORD=um5YEtjki5g6SkRsjyXRaFLNRgsqYk6r
|
||||
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
|
||||
- traefik.http.services.wg-easy.loadbalancer.server.port=51821
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user