aboutsummaryrefslogtreecommitdiff
path: root/terraform/conflatorio-docker/traefik.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/conflatorio-docker/traefik.tf')
-rw-r--r--terraform/conflatorio-docker/traefik.tf8
1 files changed, 5 insertions, 3 deletions
diff --git a/terraform/conflatorio-docker/traefik.tf b/terraform/conflatorio-docker/traefik.tf
index d15ac5c..cb5f2a0 100644
--- a/terraform/conflatorio-docker/traefik.tf
+++ b/terraform/conflatorio-docker/traefik.tf
@@ -12,6 +12,8 @@ resource "docker_container" "traefik" {
privileged = false
must_run = false
+ network_mode = "bridge"
+
networks_advanced {
name = docker_network.traefik.name
}
@@ -23,20 +25,20 @@ resource "docker_container" "traefik" {
ports {
internal = 80
external = 80
- ip = "fdf3:aad9:a885:77dd::2"
+ ip = "${local.public_ip}"
}
ports {
internal = 443
external = 443
- ip = "fdf3:aad9:a885:77dd::2"
+ ip = "${local.public_ip}"
}
# for buildfarm-server
ports {
internal = 8980
external = 8980
- ip = "fdf3:aad9:a885:77dd::2"
+ ip = "${local.public_ip}"
}
command = [