1
0
Fork 0

Fix ipv6 in docker compose

This commit is contained in:
Chocobozzz 2024-09-10 10:06:48 +02:00
parent d12e074621
commit ccfd57e349
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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: