3 ms·
Question: we are looking to deploy a flask + redis based application to a single server on AWS using docker. No load balancing, no multiple server what is the
by sandGorgon 10y ago
Question: we are looking to deploy a flask + redis based application to a single server on AWS using docker. No load balancing, no multiple server
what is the current best practice to do this (with logging, etc.) ? should I even be considering something like marathon/k8s, etc ?
currently I have a fat docker VM with supervisord and all services running in a single VM with highly fragile logging. I dont think this can last.
getting started seems very intimidating in the Docker world.
- kozikow 10y agoI recently moved my django running on docker to google container engine. Basically by following this tutorial you can be up in 15 minutes: https://cloud.google.com/python/django/container-engine https://cloud.google.com/python/django/container-engine . k8s picks up your stdout logs and sends them to stackdriver and you don't need to do anything to set it up. I was running nginx+gunicorn inside my docker image, but nginx part have been taken care of by k8s.
- josegonzalez 10y agoDokku should be able to handle all of your concerns. We do load-balancing on the server via nginx, use Docker's plumbing (the docker command/api) to build nice porcelain (our own cli tool) for stuff like restart policies etc. It's targeted specifically at single-server solutions, and migrating once you are large enough to another platform is easy as we tend to not build in platform lock-in. Feel free to jump on our slack or irc: http://dokku.viewdocs.io/dokku/getting-started/where-to-get-help/ http://dokku.viewdocs.io/dokku/getting-started/where-to-get-... Disclaimer: I am a maintainer of Dokku