aboutsummaryrefslogtreecommitdiff
path: root/terraform/conflatorio-docker
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-10-25 13:31:04 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2023-10-25 13:31:04 +0200
commit26f3413597580dab902a224dbbfd4e647eea05bf (patch)
treed7659997a3138c1964354a56c2a60e71a3ce0e38 /terraform/conflatorio-docker
parent00528d745695ffab8b25879f6ba5d795f5423b9f (diff)
downloadinfra-26f3413597580dab902a224dbbfd4e647eea05bf.tar.gz
infra-26f3413597580dab902a224dbbfd4e647eea05bf.tar.bz2
infra-26f3413597580dab902a224dbbfd4e647eea05bf.tar.xz
infra-26f3413597580dab902a224dbbfd4e647eea05bf.zip
buildfarm
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",