aboutsummaryrefslogtreecommitdiff
path: root/terraform/concourse
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/concourse')
-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",