-
Notifications
You must be signed in to change notification settings - Fork 39
/
docker-compose.yml
48 lines (45 loc) · 1.04 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
version: '3'
services:
warehouse:
image: postgres:13
container_name: warehouse
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- ./postgres:/docker-entrypoint-initdb.d
healthcheck:
test:
[
"CMD",
"pg_isready",
"-d",
"${POSTGRES_DB}",
"-U",
"${POSTGRES_USER}"
]
interval: 5s
retries: 5
restart: always
ports:
- "5432:5432"
pipelinerunner:
image: pipelinerunner
container_name: pipelinerunner
build:
context: ./
dockerfile: ./containers/pipelinerunner/Dockerfile
volumes:
- ./:/code
environment:
WAREHOUSE_USER: ${POSTGRES_USER}
WAREHOUSE_PASSWORD: ${POSTGRES_PASSWORD}
WAREHOUSE_DB: ${POSTGRES_DB}
WAREHOUSE_HOST: ${POSTGRES_HOST}
WAREHOUSE_PORT: ${POSTGRES_PORT}
dashboard:
image: metabase/metabase
container_name: dashboard
ports:
- "3000:3000"