aboutsummaryrefslogtreecommitdiff
path: root/terraform
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-02-26 19:12:25 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2023-02-26 19:12:25 +0100
commit7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2 (patch)
tree9dcd01d038ff260f75e8469741997dcde1d9b647 /terraform
parentfa5b7239263736cb2d0e63a4342fc825165ccdcd (diff)
downloadinfra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.tar.gz
infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.tar.bz2
infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.tar.xz
infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.zip
concourse
Diffstat (limited to 'terraform')
-rw-r--r--terraform/concourse/concourse.tf9
1 files changed, 9 insertions, 0 deletions
diff --git a/terraform/concourse/concourse.tf b/terraform/concourse/concourse.tf
index fc5e526..f4fc248 100644
--- a/terraform/concourse/concourse.tf
+++ b/terraform/concourse/concourse.tf
@@ -32,6 +32,12 @@ resource "docker_container" "concourse" {
ip = "192.168.10.147"
}
+ mounts {
+ type = "bind"
+ target = "/worker-state"
+ source = "/data3/concourse"
+ }
+
labels {
label = "traefik.enable"
value = "true"
@@ -71,6 +77,9 @@ resource "docker_container" "concourse" {
"CONCOURSE_WORKER_CONTAINERD_DNS_SERVER=8.8.8.8",
"CONCOURSE_WORKER_RUNTIME=containerd",
"CONCOURSE_ENABLE_ACROSS_STEP=true",
+ "CONCOURSE_ENABLE_PIPELINE_INSTANCES=true",
+
+ "CONCOURSE_WORK_DIR=/opt/concourse/worker",
"CONCOURSE_ADD_LOCAL_USER=trygvis:trygvis",
"CONCOURSE_MAIN_TEAM_LOCAL_USER=trygvis",