swadhinbiswas Initial commit: Air Traffic Platform · 8/1/2026
ecb8012
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
services:
api:
build:
context: ..
dockerfile: docker/Dockerfile
container_name: air-traffic-api
env_file:
- path: ../.env
required: false
environment:
MOCK_MODE: ${MOCK_MODE:-false}
ports:
- "8000:8000"
volumes:
- ../warehouse:/app/warehouse
restart: unless-stopped
superset:
build:
context: ./superset
dockerfile: Dockerfile
container_name: air-traffic-superset
environment:
SUPERSET_SECRET_KEY: ${SUPERSET_SECRET_KEY:-please-change-me-in-production}
SUPERSET_LOAD_EXAMPLES: "no"
ports:
- "8088:8088"
volumes:
- ./superset/superset_config.py:/app/pythonpath/superset_config.py:ro
- ../warehouse:/app/warehouse
command: ["/app/docker/docker-bootstrap.sh", "app-gunicorn"]
restart: unless-stopped
superset-init:
build:
context: ./superset
dockerfile: Dockerfile
container_name: air-traffic-superset-init
env_file:
- path: ../.env
required: false
environment:
SUPERSET_SECRET_KEY: ${SUPERSET_SECRET_KEY:-please-change-me-in-production}
SUPERSET_LOAD_EXAMPLES: "no"
volumes:
- ./superset/superset_config.py:/app/pythonpath/superset_config.py:ro
- ./superset/init_superset.py:/app/scripts/init_superset.py:ro
- ../warehouse:/app/warehouse
command: >
bash -c "
superset fab create-admin --username admin --firstname Admin --lastname User --email [email protected] --password admin --no-input &&
superset db upgrade &&
superset init &&
python /app/scripts/init_superset.py
"
depends_on:
- superset