diff options
Diffstat (limited to 'terraform/conflatorio-docker')
-rw-r--r-- | terraform/conflatorio-docker/traefik.tf | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/terraform/conflatorio-docker/traefik.tf b/terraform/conflatorio-docker/traefik.tf index a1cedec..ebc1ea0 100644 --- a/terraform/conflatorio-docker/traefik.tf +++ b/terraform/conflatorio-docker/traefik.tf @@ -1,16 +1,10 @@ resource "docker_network" "traefik" { name = "traefik" - # ipv6 = true + ipv6 = true ipam_config { - gateway = "172.20.0.1" - subnet = "172.20.0.0/16" + subnet = "fdf3:aad9:a885:77dd:aaaa::/120" } - - # ipam_config { - # subnet = "fd00:dead:beef::/48" - # gateway = "fd00:dead:beef::1" - # } } resource "docker_image" "traefik" { @@ -27,22 +21,28 @@ resource "docker_container" "traefik" { name = docker_network.traefik.name } +# ports { +# internal = 80 +# external = 80 +# ip = "192.168.10.147" +# } +# +# ports { +# internal = 443 +# external = 443 +# ip = "192.168.10.147" +# } + ports { internal = 80 external = 80 - ip = "192.168.10.147" - } - - ports { - internal = 443 - external = 443 - ip = "192.168.10.147" + ip = "fdf3:aad9:a885:77dd::2" } ports { internal = 443 external = 443 - ip = "fdf3:aad9:a885:b3a::3" + ip = "fdf3:aad9:a885:77dd::2" } command = [ |