-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
34 lines (29 loc) · 1 KB
/
docker-compose.dev.yml
File metadata and controls
34 lines (29 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
# Echo Mind Backend Development Docker Compose Override
# Use with: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
version: '3.8'
services:
echo-mind-backend:
build:
target: development
environment:
- ENVIRONMENT=development
- AUTO_RELOAD=true
- DEBUG=true
- LOG_LEVEL=DEBUG
- ENABLE_DOCS=true
volumes:
# Mount source code for live reloading
- .:/app
- ./logs:/app/logs
# Exclude node_modules and other unnecessary directories
- /app/__pycache__
- /app/.pytest_cache
command: ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--log-level", "debug"]
# Enable Redis for development caching
redis:
profiles: [] # Remove profile to enable by default in dev
# Optional: Enable monitoring in development
prometheus:
profiles: [] # Remove profile to enable by default in dev
grafana:
profiles: [] # Remove profile to enable by default in dev