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 +