-
Notifications
You must be signed in to change notification settings - Fork 37
/
docker-compose.yml
55 lines (55 loc) · 1.59 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
50
51
52
53
54
55
services:
generator:
build:
context: .
dockerfile: ./generator/Dockerfile
volumes:
- ./shared:/shared
environment:
INPUT_FILES_PATH: /shared/parquet
dbt:
build:
context: .
dockerfile: ./dbt/Dockerfile
volumes:
- ./shared:/shared
- ./dbt/postcard_company:/datamart/postcard_company
environment:
INPUT_FILES_PATH: /shared/parquet
dagster:
build:
context: .
dockerfile: ./dagster/Dockerfile
restart: always
environment:
DUCKDB_FILE_PATH: /shared/db/datamart.duckdb
INPUT_FILES_PATH: /shared/parquet
volumes:
- ./shared:/shared
- ./dbt/postcard_company:/postcard_company
ports:
- "3000:3000"
depends_on:
generator:
condition: service_completed_successfully
dbt:
condition: service_completed_successfully
superset:
build:
context: .
dockerfile: ./superset/Dockerfile
args:
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
SUPERSET_ADMIN: $SUPERSET_ADMIN
SUPERSET_PASSWORD: $SUPERSET_PASSWORD
SUPERSET_SECRET_KEY: ${SUPERSET_SECRET_KEY}
environment:
SUPERSET_SECRET_KEY: ${SUPERSET_SECRET_KEY}
ports:
- "8088:8088"
command: gunicorn --bind "0.0.0.0:8088" --access-logfile '-' --error-logfile '-' --workers 1 --worker-class gthread --threads 20 --timeout 60 --limit-request-line 0 --limit-request-field_size 0 "superset.app:create_app()"
volumes:
- ./shared/db:/app/superset_home/db
depends_on:
- dagster