mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 05:33:46 +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
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wg-easy:/etc/wireguard
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wg-easy:/etc/wireguard
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
# labels:
|
# labels:
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
# - traefik.http.routers.wireguard.rule=Host(`vpn.example.com`)
|
# - traefik.http.routers.wireguard.rule=Host(`vpn.example.com`)
|
||||||
|
@ -25,3 +27,7 @@ services:
|
||||||
# - traefik.docker.network=proxy
|
# - traefik.docker.network=proxy
|
||||||
# # Part for local lan services only
|
# # Part for local lan services only
|
||||||
# - traefik.http.routers.wireguard.middlewares=local-ipwhitelist@file
|
# - traefik.http.routers.wireguard.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user