-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
39 lines (39 loc) · 1.11 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
services:
generator:
build:
context: .
dockerfile: ./generator/Dockerfile
volumes:
- ./shared:/shared
environment:
INPUT_FILES_PATH: /shared/parquet
sqlmesh-dbt:
build:
context: .
dockerfile: ./sqlmesh-dbt/Dockerfile
volumes:
- ./shared:/shared
environment:
INPUT_FILES_PATH: /shared/parquet
DUCKDB_FILE_PATH: /shared/db/datamart.duckdb
ports:
- "8000:8000"
depends_on:
- generator
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:
- sqlmesh-dbt