aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorJesus <jesus.estupinan@pragma.com.co>2022-08-28 06:12:33 +0800
committerJesus <jesus.estupinan@pragma.com.co>2022-08-28 06:12:33 +0800
commit9e7bf7c6ded968cf313185833d3f3f0b973e276c (patch)
treec910008ed1abb03400f0b551673b5d156eafdd63 /docker-compose.yml
parent663a9765999d13cd27993b856fe35c3b1cc2c218 (diff)
downloadtunnel-9e7bf7c6ded968cf313185833d3f3f0b973e276c.tar.lz
tunnel-9e7bf7c6ded968cf313185833d3f3f0b973e276c.tar.xz
tunnel-9e7bf7c6ded968cf313185833d3f3f0b973e276c.zip
Change official image to custom image with IPv6 support
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index d9ed166..509211c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -43,7 +43,7 @@ services:
- dnscrypt
wireguard:
- image: linuxserver/wireguard
+ image: index.docker.io/rusian/wireguard:latest
networks:
containers:
ipv4_address: 172.20.0.7
@@ -59,7 +59,8 @@ services:
- SERVERPORT=51820 #optional
- PEERS=10 #optional
- PEERDNS=auto #optional
- - INTERNAL_SUBNET=10.13.13.0 #optional
+ - INTERNAL_SUBNET_IPV4=10.13.13.0 #optional
+ - INTERNAL_SUBNET_IPV6=fd42:42:42::0 #optional
volumes:
- ./wireguard:/config
- /lib/modules:/lib/modules