This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
lewis/ansible/roles/concourse/docker-compose.yml.j2

41 lines
1.3 KiB
Text
Raw Normal View History

# vi: ft=yaml
version: '3'
services:
concourse-db:
image: postgres
2023-05-26 20:52:25 +00:00
restart: always
environment:
POSTGRES_DB: concourse
POSTGRES_PASSWORD: {{ postgres_password }}
POSTGRES_USER: concourse_user
PGDATA: /database
volumes:
- /mnt/data/concourse:/database
concourse:
image: concourse/concourse
2023-05-26 20:52:25 +00:00
restart: always
command: quickstart
privileged: true
depends_on: [concourse-db]
ports: ["3000:8080"]
environment:
CONCOURSE_POSTGRES_HOST: concourse-db
CONCOURSE_POSTGRES_USER: concourse_user
CONCOURSE_POSTGRES_PASSWORD: {{ postgres_password }}
CONCOURSE_POSTGRES_DATABASE: concourse
2023-06-19 13:05:37 +00:00
CONCOURSE_EXTERNAL_URL: https://ci.kun.is
CONCOURSE_ADD_LOCAL_USER: admin:{{ admin_password }}
2023-05-26 20:52:25 +00:00
CONCOURSE_MAIN_TEAM_LOCAL_USER: admin
# instead of relying on the default "detect"
CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: overlay
CONCOURSE_CLIENT_SECRET: {{ client_secret }}
CONCOURSE_TSA_CLIENT_SECRET: {{ client_secret }}
CONCOURSE_X_FRAME_OPTIONS: allow
CONCOURSE_CONTENT_SECURITY_POLICY: "*"
CONCOURSE_CLUSTER_NAME: tutorial
2023-05-31 12:14:43 +00:00
CONCOURSE_WORKER_CONTAINERD_DNS_SERVER: "192.168.30.1"
# For ARM-based machine, change the Concourse runtime to "houdini"
CONCOURSE_WORKER_RUNTIME: "containerd"