wg_easy: add interface name to networks

This commit is contained in:
Aykhan Shahsuvarov committed 2025-07-05 11:41:50 +00:00
1 parent cae7ef2ed6
commit 5ca6236450
1 file changed
+4
+4
View File
@@ -4,9 +4,13 @@ services:
container_name: wg-easy
networks:
caddy:
interface_name: wgeth1
wg:
ipv4_address: 10.42.42.42
ipv6_address: fdcc:ad94:bacf:61a3::2a
interface_name: wgeth0
environment:
WG_DEVICE: wgeth0
volumes:
- ./data:/etc/wireguard
- /lib/modules:/lib/modules:ro