autostart concourse

This commit is contained in:
Pim Kunis 2023-05-26 22:52:25 +02:00
parent e5a0727375
commit 80565e65c6

View file

@ -4,6 +4,7 @@ version: '3'
services: services:
concourse-db: concourse-db:
image: postgres image: postgres
restart: always
environment: environment:
POSTGRES_DB: concourse POSTGRES_DB: concourse
POSTGRES_PASSWORD: {{ postgres_password }} POSTGRES_PASSWORD: {{ postgres_password }}
@ -14,6 +15,7 @@ services:
concourse: concourse:
image: concourse/concourse image: concourse/concourse
restart: always
command: quickstart command: quickstart
privileged: true privileged: true
depends_on: [concourse-db] depends_on: [concourse-db]
@ -25,7 +27,7 @@ services:
CONCOURSE_POSTGRES_DATABASE: concourse CONCOURSE_POSTGRES_DATABASE: concourse
CONCOURSE_EXTERNAL_URL: https://concourse.pim.kunis.nl:444 CONCOURSE_EXTERNAL_URL: https://concourse.pim.kunis.nl:444
CONCOURSE_ADD_LOCAL_USER: admin:{{ admin_password }} CONCOURSE_ADD_LOCAL_USER: admin:{{ admin_password }}
CONCOURSE_MAIN_TEAM_LOCAL_USER: test CONCOURSE_MAIN_TEAM_LOCAL_USER: admin
# instead of relying on the default "detect" # instead of relying on the default "detect"
CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: overlay CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: overlay
CONCOURSE_CLIENT_SECRET: {{ client_secret }} CONCOURSE_CLIENT_SECRET: {{ client_secret }}