f1tness_parser/compose.override.yaml
2026-10-22 23:46:29 +03:00

15 lines
466 B
YAML

# Development overrides for hot reload
services:
fastapi-app:
environment:
- DEBUG=true
command: sh -c "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload --reload-dir /app/app --log-level debug"
develop:
watch:
- action: sync
path: ./app
target: /app/app
- action: rebuild
path: ./requirements.txt
- action: rebuild
path: ./requirements-dev.txt