mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-30 21:23:49 +00:00
Update docker-compose.yml
add network definitions
This commit is contained in:
parent
43f25e7328
commit
e03d1b6419
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user