From 33b4ab810473433d10403d320e9986c743f1603f Mon Sep 17 00:00:00 2001 From: evlic Date: Thu, 7 Sep 2023 01:18:49 +0800 Subject: [PATCH] update ipv6 --- docker-compose.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 524a74c..7d32262 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,4 +1,4 @@ -version: '3.5' +version: '4' services: v2: container_name: v2 @@ -9,6 +9,9 @@ services: init: true networks: - vlss + dns: + - 8.8.8.8 + - "2001:4860:4860::8888" volumes: - ${DIR}/v2a:/etc/v2raya - /etc/localtime:/etc/localtime:ro @@ -28,7 +31,6 @@ services: # - vlss ngx: - profiles: ["dev"] container_name: ngx image: nginx:latest restart: always @@ -66,5 +68,14 @@ services: networks: vlss: driver: bridge - external: true + # external: true name: local + # ip6net: + enable_ipv6: true + ipam: + driver: default + config: + - subnet: 192.18.0.0/16 + - subnet: fd00::/80 + gateway: fd00::1 +