-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.37 KB
/
docker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.37 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
version: '3.8'
services:
streamlit:
build:
context: .
dockerfile: Dockerfile.streamlit
ports:
- "8501:8501"
volumes:
- ./src:/app/src
- ./data:/app/data
environment:
- KAGGLE_USERNAME=${KAGGLE_USERNAME}
- KAGGLE_KEY=${KAGGLE_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION:-us-east-1}
- DATA_PATH=${DATA_PATH:-data/processed}
# DeepSeek API Key for the Agent
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
depends_on:
- db
dagster:
build:
context: .
dockerfile: Dockerfile.streamlit # Reusing the same image for simplicity as it has all deps
command: dagster dev -h 0.0.0.0 -p 3000 -f orchestration/dagster/repository.py
ports:
- "3000:3000"
volumes:
- ./src:/app/src
- ./orchestration:/app/orchestration
- ./data:/app/data
environment:
- KAGGLE_USERNAME=${KAGGLE_USERNAME}
- KAGGLE_KEY=${KAGGLE_KEY}
- DAGSTER_HOME=/app/dagster_home
depends_on:
- db
db:
image: postgres:latest
restart: always
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: data_platform
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:latest
restart: always
volumes:
db_data: