Update docker-compose.yml

add network definitions
pull/6/head
LRVT 2023-02-26 04:02:26 +01:00 zatwierdzone przez GitHub
rodzic 43f25e7328
commit e03d1b6419
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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