Skip to content

Commit

Permalink
Merge pull request #312 from Learnware-LAMDA/log_gunicorn
Browse files Browse the repository at this point in the history
fix(backend): open log for gunicorn server
  • Loading branch information
zouxiaochuan committed Jan 12, 2024
2 parents 80ee10e + 509d010 commit ed6ee52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/docker-compose/Dockerfile_backend
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ EXPOSE 8088

ENV PYTHONPATH=/learnware-backend

CMD ["gunicorn", "--bind", "0.0.0.0:8088", "--workers", "2", "--backlog", "128", "--worker-connections", "1", "--threads", "1", "--timeout", "120", "scripts.main:create_app()"]
CMD ["gunicorn", "--bind", "0.0.0.0:8088", "--workers", "2", "--backlog", "128", "--worker-connections", "1", "--threads", "1", "--timeout", "120", "--log-level", "DEBUG", "scripts.main:create_app()"]

0 comments on commit ed6ee52

Please sign in to comment.