Download docker-compose.dev.yml from Elisha622/lexintel-ai: direct link, hf CLI and curl.
- Browser
- Download file 631 Bytes
-
https://huggingface.co/Elisha622/lexintel-ai/resolve/main/docker-compose.dev.yml
- Command line
-
hf download hf://Elisha622/lexintel-ai/docker-compose.dev.yml
-
curl -L -o docker-compose.dev.yml https://huggingface.co/Elisha622/lexintel-ai/resolve/main/docker-compose.dev.yml
631 Bytes
| # Hot reload for the API while editing backend code: | |
| # | |
| # docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d backend | |
| # | |
| # uvicorn always watches its working directory, so it starts from the source | |
| # folder: the watcher then covers app/ only, not the index volume or tests. | |
| # The watcher polls (file events don't cross a Windows/macOS bind mount) and | |
| # can die under memory pressure -- if edits stop taking effect, restart. | |
| services: | |
| backend: | |
| command: sh -c "cd /app/app && exec uvicorn app.main:app --app-dir /app --host 0.0.0.0 --port 8005 --reload" | |
| environment: | |
| WATCHFILES_FORCE_POLLING: "true" | |