-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
59 lines (59 loc) · 1.64 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
56
57
58
59
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
magic:
command: mage start .
env_file:
- .env
build:
context: .
dockerfile: ./mage/Dockerfile
environment:
USER_CODE_PATH: /home/src/
DUCKDB_FILE_PATH: /shared/db/datamart.duckdb
INPUT_FILES_PATH: /shared/parquet
ENV: ${ENV}
ports:
- 6789:6789
volumes:
- ./mage:/home/src/
- ./shared:/shared
- ./dbt/postcard_company:/home/src/dbt/postcard_company
restart: on-failure:5
depends_on:
generator:
condition: service_completed_successfully
dbt:
condition: service_completed_successfully
superset:
build:
context: .
dockerfile: ./superset/Dockerfile
args:
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:
- magic