-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
35 lines (32 loc) · 1 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
35 lines (32 loc) · 1 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
# Development override for faster builds and hot reloading
version: '3.9'
services:
# Use development UI build with hot reload
ui:
build:
context: ./services/ui-react
dockerfile: Dockerfile.dev
volumes:
- ./services/ui-react/src:/app/src:ro
- ./services/ui-react/public:/app/public:ro
- /app/node_modules # Anonymous volume to preserve node_modules
environment:
- VITE_API_URL=http://localhost:8006
- VITE_HMR_PORT=3000
- CHOKIDAR_USEPOLLING=true # For WSL/Windows file watching
# Orchestrator with source code mounted for development
orchestrator:
volumes:
- ./services/orchestrator:/app:ro
- /app/__pycache__ # Exclude cache
environment:
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
- RELOAD=true
# Hierarchy API with source mounted
hierarchy-api:
volumes:
- ./hierarchy_endpoints.py:/app/hierarchy_endpoints.py:ro
environment:
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1