Fix ipv6 in docker compose
This commit is contained in:
parent
d12e074621
commit
ccfd57e349
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: 172.18.0.42
|
ipv4_address: 172.18.0.42
|
||||||
|
ipv6_address: 2001:db8:2::42
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|
||||||
|
@ -90,10 +91,12 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
enable_ipv6: true
|
||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- subnet: 172.18.0.0/16
|
- subnet: 172.18.0.0/16
|
||||||
|
- subnet: 2001:db8:2::/64
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
assets:
|
assets:
|
||||||
|
|
Loading…
Reference in a new issue