-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathconcourse.yml
More file actions
58 lines (54 loc) · 1.84 KB
/
concourse.yml
File metadata and controls
58 lines (54 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# vim:ts=2:sts=2:sw=2:et
#
# Author: Hari Sekhon
# Date: 2020-03-21 11:14:07 +0000 (Sat, 21 Mar 2020)
#
# https://github.com/HariSekhon/DevOps-Bash-tools
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help improve or steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# based off concourse quickstart
#
# https://concourse-ci.org/docker-compose.yml
version: '3'
services:
concourse-db:
hostname: concourse-db
image: postgres
environment:
POSTGRES_DB: concourse
POSTGRES_PASSWORD: ${PGPASSWORD:-concourse_password}
POSTGRES_USER: ${PGUSER:-concourse_user}
PGDATA: /database
concourse:
hostname: concourse
image: concourse/concourse:${VERSION:-6.0}
command: quickstart
privileged: true
depends_on: [concourse-db]
ports:
- ${CONCOURSE_PORT:-8080}:8080
#volumes:
# - .:/pwd
environment:
CONCOURSE_POSTGRES_HOST: concourse-db
CONCOURSE_POSTGRES_USER: ${PGUSER:-concourse_user}
CONCOURSE_POSTGRES_PASSWORD: ${PGPASSWORD:-concourse_password}
CONCOURSE_POSTGRES_DATABASE: concourse
CONCOURSE_EXTERNAL_URL: http://${CONCOURSE_HOST:-localhost}:${CONCOURSE_PORT:-8080}
CONCOURSE_ADD_LOCAL_USER: ${CONCOURSE_USER:-test}:${CONCOURSE_PASSWORD:-test}
CONCOURSE_MAIN_TEAM_LOCAL_USER: ${CONCOURSE_USER:-test}
CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: overlay
# healthcheck:
# # doesn't have curl
# #test: ["CMD", "curl", "-f", "http://localhost:8080"]
# # export DOCKER_HEALTHCHECK=/bin/true in development to bypass healthcheck
# test: "${DOCKER_HEALTHCHECK:-curl -f http://localhost:8080}"
# interval: 30s
# #start_period: 30s # version 3.4+
# timeout: 10s
# retries: 5