Follow

docker, dev-ops, question, retoot okay 

folk, I want a python backend (gunicorn) and nginx to host static files, what's the best way to build this? Two separate containers with a shared volume? This means users must have my docker-compose.yml. Or 1 container with both services? This allows docker pull my/image.

I like the idea of users just being able to "docker pull my/image" and running it, it's a lot simpler than downloading a docker-compose file. But I don't like having to run gunicorn and nginx on the same container.

Sign in to participate in the conversation
Toot.Cat

On the internet, everyone knows you're a cat — and that's totally okay.