Enable gunicorn server log

This commit is contained in:
mhdzumair
2024-08-25 21:21:56 +05:30
parent fb6e6a7995
commit 91a344e522
+1 -1
View File
@@ -35,4 +35,4 @@ COPY --chown=mediaflow_proxy:mediaflow_proxy . /mediaflow_proxy
EXPOSE 8888
# Activate virtual environment and run the application with Gunicorn
CMD ["poetry", "run", "gunicorn", "mediaflow_proxy.main:app", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8888", "--timeout", "120", "--max-requests", "500", "--max-requests-jitter", "200"]
CMD ["poetry", "run", "gunicorn", "mediaflow_proxy.main:app", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8888", "--timeout", "120", "--max-requests", "500", "--max-requests-jitter", "200", "--access-logfile", "-", "--error-logfile", "-", "--log-level", "info"]