aboutsummaryrefslogtreecommitdiff
path: root/terraform/conflatorio-docker
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/conflatorio-docker')
-rw-r--r--terraform/conflatorio-docker/traefik.tf8
1 files changed, 8 insertions, 0 deletions
diff --git a/terraform/conflatorio-docker/traefik.tf b/terraform/conflatorio-docker/traefik.tf
index 8613394..d15ac5c 100644
--- a/terraform/conflatorio-docker/traefik.tf
+++ b/terraform/conflatorio-docker/traefik.tf
@@ -32,6 +32,13 @@ resource "docker_container" "traefik" {
ip = "fdf3:aad9:a885:77dd::2"
}
+ # for buildfarm-server
+ ports {
+ internal = 8980
+ external = 8980
+ ip = "fdf3:aad9:a885:77dd::2"
+ }
+
command = [
"--log.level=DEBUG",
"--api=true",
@@ -44,6 +51,7 @@ resource "docker_container" "traefik" {
"--entrypoints.web.address=:80",
"--entrypoints.web.http.redirections.entrypoint.to=websecure",
"--entrypoints.web.http.redirections.entrypoint.scheme=https",
+ "--entrypoints.buildfarm.address=:8980",
"--certificatesresolvers.linode.acme.dnschallenge.provider=linode",
"--certificatesresolvers.linode.acme.dnschallenge.resolvers=1.1.1.1:53,8.8.8.8:53",
"--certificatesresolvers.linode.acme.email=root@trygvis.io",