diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2023-02-26 19:12:25 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2023-02-26 19:12:25 +0100 |
commit | 7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2 (patch) | |
tree | 9dcd01d038ff260f75e8469741997dcde1d9b647 /terraform/concourse | |
parent | fa5b7239263736cb2d0e63a4342fc825165ccdcd (diff) | |
download | infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.tar.gz infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.tar.bz2 infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.tar.xz infra-7bd50886ebf672b93dcdac4ae5bc1b08c86d60e2.zip |
concourse
Diffstat (limited to 'terraform/concourse')
-rw-r--r-- | terraform/concourse/concourse.tf | 9 |
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", |