feat: configure dual-stack proxy network
This commit is contained in:
1 parent
5d520d24b5
commit
fcd819f752
1 file changed
+15
-1
+15
-1
@@ -15,6 +15,8 @@ services:
|
|||||||
- "[::]:18443:443"
|
- "[::]:18443:443"
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
ipv4_address: 172.30.0.2
|
||||||
|
ipv6_address: fd71:2da4:cf55::2
|
||||||
host-access:
|
host-access:
|
||||||
ipv4_address: 172.31.255.2
|
ipv4_address: 172.31.255.2
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
@@ -50,7 +52,19 @@ services:
|
|||||||
memory: 16M
|
memory: 16M
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
name: proxy
|
||||||
|
driver: bridge
|
||||||
|
driver_opts:
|
||||||
|
com.docker.network.bridge.name: br-proxy
|
||||||
|
enable_ipv6: true
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.30.0.0/24
|
||||||
|
ip_range: 172.30.0.128/25
|
||||||
|
gateway: 172.30.0.1
|
||||||
|
- subnet: fd71:2da4:cf55::/64
|
||||||
|
ip_range: fd71:2da4:cf55:0:8000::/65
|
||||||
|
gateway: fd71:2da4:cf55::1
|
||||||
host-access:
|
host-access:
|
||||||
name: host-access
|
name: host-access
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in new issue
Block a user