Browse Source

Add interface_name to wg network in docker compose.

Prevents the interface name from changing with multiple networks (ie: using Traefik or caddy-docker-proxy) which would stop the VPN from working properly.
pull/2048/head
Myles 2 weeks ago
committed by GitHub
parent
commit
7c1e38a930
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      docker-compose.yml

1
docker-compose.yml

@ -13,6 +13,7 @@ services:
container_name: wg-easy
networks:
wg:
interface_name: eth0
ipv4_address: 10.42.42.42
ipv6_address: fdcc:ad94:bacf:61a3::2a
volumes:

Loading…
Cancel
Save