mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
fix: disable file logging for docker compose mode
This commit is contained in:
parent
7d1e22d53c
commit
b5cb044f8c
6 changed files with 68 additions and 21 deletions
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue