-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
41 lines (37 loc) · 1014 Bytes
/
docker-compose.dev.yml
File metadata and controls
41 lines (37 loc) · 1014 Bytes
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
# Development overrides for docker-compose.yml
services:
ai_service:
build:
target: development
volumes:
- ./ai-service:/app
- ai_models:/app/models
environment:
- DEBUG=True
- RELOAD=True
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--log-level", "debug"]
api_backend:
build:
target: development
volumes:
- ./api-backend:/app
environment:
- DEBUG=True
- RELOAD=True
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--log-level", "debug"]
web_frontend:
build:
target: development
volumes:
- ./web-frontend:/app
- /app/node_modules
environment:
- FAST_REFRESH=false
- CHOKIDAR_USEPOLLING=true
- WATCHPACK_POLLING=true
postgres:
ports:
- "5432:5432" # Expose for direct DB access in development
redis:
ports:
- "6379:6379" # Expose for direct Redis access in development