-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
33 lines (28 loc) · 888 Bytes
/
docker-compose.dev.yml
File metadata and controls
33 lines (28 loc) · 888 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
# Development environment overrides
# This file extends docker-compose.yml with development-specific settings:
# - Hot reload enabled
# - Debug mode on
# - Volume mounts for live code updates
# - Exposed database ports for local access
version: '3.8'
services:
backend:
environment:
- APP_ENV=development
- APP_DEBUG=true
- BACKEND_RELOAD=true
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
celery-worker:
environment:
- APP_ENV=development
- APP_DEBUG=true
# Auto-reload on code changes
command: watchmedo auto-restart --directory=/app --pattern=*.py --recursive -- python -m celery -A app.helpers.celery_app worker --loglevel=debug
celery-beat:
environment:
- APP_ENV=development
- APP_DEBUG=true
frontend:
environment:
- NODE_ENV=development
command: npm run dev -- --host