aboutsummaryrefslogtreecommitdiff
path: root/terraform/conflatorio-docker
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-10-23 14:45:48 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2023-10-23 14:46:41 +0200
commit3561e7d974630911ae3e26108ff9f2e03ec8599b (patch)
tree72cc5dcd612266171629ad23238f12f487592031 /terraform/conflatorio-docker
parent3538a96392087c84af955772047b070fced8fccc (diff)
downloadinfra-3561e7d974630911ae3e26108ff9f2e03ec8599b.tar.gz
infra-3561e7d974630911ae3e26108ff9f2e03ec8599b.tar.bz2
infra-3561e7d974630911ae3e26108ff9f2e03ec8599b.tar.xz
infra-3561e7d974630911ae3e26108ff9f2e03ec8599b.zip
conflatorio
Diffstat (limited to 'terraform/conflatorio-docker')
-rw-r--r--terraform/conflatorio-docker/traefik.tf32
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 = [