fix: disable file logging for docker compose mode

This commit is contained in:
Abhishek Kumar 2026-02-04 22:42:13 +05:30
parent 7d1e22d53c
commit b5cb044f8c
6 changed files with 68 additions and 21 deletions

View file

@ -58,8 +58,11 @@ COPY ./scripts/start_services.sh ./scripts/start_services.sh
ENV PYTHONPATH=/app
# Disable file logging in Docker - logs go to stdout for docker logs
ENV LOG_TO_FILE=false
# Expose the port FastAPI will run on
EXPOSE 8000
# Run the FastAPI app with uvicorn
CMD ["bash", "-c", "./scripts/start_services.sh && tail -f ./logs/latest/*.log"]
CMD ["./scripts/start_services.sh"]