-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 973 Bytes
/
docker-compose.yml
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
version: '2'
services:
concourse-db:
image: postgres:9.5
environment:
POSTGRES_DB: concourse
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /database
concourse-web:
image: concourse/concourse
depends_on:
- concourse-db
command: web
ports:
- "8080:8080"
volumes:
- "./keys/web:/concourse-keys"
environment:
CONCOURSE_BASIC_AUTH_USERNAME: ${CONCOURSE_BASIC_AUTH_USERNAME}
CONCOURSE_BASIC_AUTH_PASSWORD: ${CONCOURSE_BASIC_AUTH_PASSWORD}
CONCOURSE_EXTERNAL_URL: "${WEB_TUNNEL_URL}"
CONCOURSE_POSTGRES_DATA_SOURCE: |-
postgres://concourse:changeme@concourse-db:5432/concourse?sslmode=disable
concourse-worker:
image: concourse/concourse
privileged: true
depends_on:
- concourse-web
command: worker
volumes:
- "./keys/worker:/concourse-keys"
environment:
CONCOURSE_TSA_HOST: concourse-web