Skip to content

Running gunicorn as the web server instead of uvicorn #34

Answered by frankie567
Tobi-De asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Tobi-De!

No problem! It could help if you share your supervisord configuration and error messages if any.

That said, I must tell you that doing what I did in this Docker image is usually considered as a bad practice. The container philosophy is to have only one process per container. I went against this rule here because I wanted people to get up-and-running quickly. However, this should be considered as a transitive state: for production purposes, a proper environment with a server container, a worker container and a separate Redis container should be configured.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Tobi-De
Comment options

@frankie567
Comment options

Answer selected by Tobi-De
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants