Update docker-compose.yml

add network definitions
This commit is contained in:
LRVT 2023-02-26 04:02:26 +01:00 committed by GitHub
parent 43f25e7328
commit e03d1b6419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@ services:
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wg-easy:/etc/wireguard
#networks:
# - proxy
# labels:
# - traefik.enable=true
# - traefik.http.routers.wireguard.rule=Host(`vpn.example.com`)
@ -25,3 +27,7 @@ services:
# - traefik.docker.network=proxy
# # Part for local lan services only
# - traefik.http.routers.wireguard.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true