update ipv6

This commit is contained in:
evlic 2023-09-07 01:18:49 +08:00
parent 23ba26f7c2
commit 33b4ab8104

View File

@ -1,4 +1,4 @@
version: '3.5' version: '4'
services: services:
v2: v2:
container_name: v2 container_name: v2
@ -9,6 +9,9 @@ services:
init: true init: true
networks: networks:
- vlss - vlss
dns:
- 8.8.8.8
- "2001:4860:4860::8888"
volumes: volumes:
- ${DIR}/v2a:/etc/v2raya - ${DIR}/v2a:/etc/v2raya
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
@ -28,7 +31,6 @@ services:
# - vlss # - vlss
ngx: ngx:
profiles: ["dev"]
container_name: ngx container_name: ngx
image: nginx:latest image: nginx:latest
restart: always restart: always
@ -66,5 +68,14 @@ services:
networks: networks:
vlss: vlss:
driver: bridge driver: bridge
external: true # external: true
name: local name: local
# ip6net:
enable_ipv6: true
ipam:
driver: default
config:
- subnet: 192.18.0.0/16
- subnet: fd00::/80
gateway: fd00::1