-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker compose environment uses django development server #326
Comments
Sure. I wouldn't want the default to use gunicorn though, as the docker-compose is setup to really be a dev environment (but you can easily modify it to suit a more prod setup). |
Do you want docker-compose to be just for a dev setup? I was attracted to this project as a way to setup a quick/easy website for others to use. Are you interested in something like this: https://docs.docker.com/compose/extends/#multiple-compose-files |
Wooey's docker-compose was really meant for a dev setup. It is pretty far from a prod setup that gunicorn wouldn't address, like having a persistant database that isn't postgres + volume. If you want to submit a PR with your ideas, then more than willing to take a look at it, but I'm not sure how comfortable I am with users having a "production" docker-compose file that is missing so many other parts of a production deployment. |
Looking at #321, one thing I do think would be very useful is a simple docker-compose text users can copy that uses the dockerhub image and doesn't require cloning this repo. |
At our company we are thinking of running an instance of wooey to make our python scripts available to others. I noticed that it is the django development server running. So far so good, but I'm wondering how much it would take to stress out the server.
Could I recommend gunicorn?
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/gunicorn/
The text was updated successfully, but these errors were encountered: