forked from concourse/concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 1.16 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
db:
image: postgres
ports: ["6543:5432"]
environment:
- POSTGRES_DB=concourse
- POSTGRES_USER=dev
- POSTGRES_PASSWORD=
web:
build:
context: .
dockerfile: ${DOCKERFILE}
volumes:
- .:/src
command: web
depends_on: [db]
ports: ["8080:8080"]
environment:
- CONCOURSE_POSTGRES_HOST=db
- CONCOURSE_POSTGRES_USER=dev
- CONCOURSE_POSTGRES_PASSWORD=dev
- CONCOURSE_POSTGRES_DATABASE=concourse
- CONCOURSE_EXTERNAL_URL=http://localhost:8080
- CONCOURSE_ADD_LOCAL_USER=test:test,guest:guest
- CONCOURSE_MAIN_TEAM_LOCAL_USER=test
- CONCOURSE_TSA_HEARTBEAT_INTERVAL=5s
- CONCOURSE_LOG_LEVEL=debug
worker:
build:
context: .
dockerfile: ${DOCKERFILE}
command: worker
privileged: true
depends_on: [web]
ports: ["7777:7777", "7788:7788"]
environment:
- CONCOURSE_TSA_HOST=web:2222
- CONCOURSE_EPHEMERAL=true
# avoid using loopbacks
- CONCOURSE_BAGGAGECLAIM_DRIVER=overlay
# so that CI can configure a different network range that doesn't overlap
# with the outer Garden
- CONCOURSE_GARDEN_NETWORK_POOL