resource "docker_network" "public" { name = "public" ipv6 = true ipam_config { subnet = "${local.network_addr}/${local.network_range}" } ipam_config { gateway = "172.22.0.1" subnet = "172.22.0.0/16" } } # Internal shared network resource "docker_network" "private" { name = "private" ipv6 = true ipam_config { subnet = "${local.private_network_addr}/${local.private_network_range}" } }