From 3561e7d974630911ae3e26108ff9f2e03ec8599b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 23 Oct 2023 14:45:48 +0200 Subject: conflatorio --- terraform/conflatorio-docker/traefik.tf | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'terraform/conflatorio-docker') 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 = [ -- cgit v1.2.3