version: '2.2' networks: default: driver: bridge enable_ipv6: true ipam: config: - subnet: 10.5.0.0/12 gateway: 10.5.1.1 - subnet: 2001:3984:3989::/64 gateway: 2001:3984:3989::1