-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (59 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
64 lines (59 loc) · 1.28 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
59
60
61
62
63
64
version: "3.8"
x-common-variables: &common-variables
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
networks:
japp_stack:
services:
db:
image: postgres
environment: *common-variables
ports:
- 5432:5432
volumes:
- "./data/postgres_volume:/var/lib/postgresql/data"
networks:
japp_stack:
aliases:
- db
- postgres
airflow:
image: puckel/docker-airflow
depends_on:
- db
ports:
- 8080:8080
- 5555:5555
volumes:
- "./config/airflow/airflow-requirements.txt:/requirements.txt"
- "./src/notebooks:/usr/local/airflow/notebooks"
- "./src/pipelines:/usr/local/airflow/dags"
networks:
japp_stack:
aliases:
- airflow
notebook:
image: naveedn/japp_stack:notebook
ports:
- 8888:8888
- 3000:3000
depends_on:
- db
volumes:
- "./src/notebooks:/home/jovyan/work"
- "./src/pipelines:/home/jovyan/work/pipelines"
- "./data:/data"
environment: *common-variables
networks:
japp_stack:
aliases:
- notebook
selenium:
image: selenium/standalone-chrome
ports:
- 4444:4444
networks:
japp_stack:
aliases:
- selenium