mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
Update docker-compose.yml
add network definitions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user