#728 Tiltfile + docker-compose for local dev with hot reload
Description
Edit## Task
Create Tiltfile and docker-compose.dev.yml for local development with hot reload.
## Requirements
1. Hot reload for:
- API (Python/FastAPI) - use volume mounts + watchfiles
- Dashboard (React/Vite) - use Vite HMR
- Workers (Python) - volume mounts + auto-restart
2. Services in docker-compose.dev.yml:
- postgres (local dev instance, NOT pg.rodmena.app)
- api (port 7822)
- dashboard (port 3000)
- worker (1 replica)
- activity-worker (1 replica)
- internal-worker (1 replica)
- vault (dev mode, optional)
3. Tiltfile features:
- Watch engine/ directory -> sync to containers
- Watch ../highway-dashbaord/src -> sync to dashboard
- Live reload without full rebuild
- Tilt UI accessible at tilt.highway.rodmena.app
4. Resource limits (dev is lightweight):
- Workers: 256Mi memory each
- API: 512Mi memory
- Dashboard: 256Mi memory
## Files to create
- docker-compose.dev.yml
- Tiltfile
- docker/dev.env (environment overrides)
## Parent: #726
Comments
Loading comments...
Context
Loading context...
Audit History
View AllLoading audit history...