Digitalocean and Docker workflow - how to make the most of it?

May 2, 2018 1k views
Docker Django Python Kubernetes CI/CD API Ansible Chef Ubuntu 16.04 Ubuntu

Hello,

I am making an eCommerce solution utilising django and docker. I want to know the best routes to best utilise docker with digitalocean and how to avoid all draw backs. I want to make a complete workflow based on docker and digitalocean -from development to production and everything in between - as well as utilise various automation

1 Answer

Can you share a bit more information about your current configuration and the current workflow that you are looking to utilize docker to streamline?

  • Well, right now, I am trying to work on getting things as detached as possible from a droplet so that it can easily be moved to another one. Perhaps also be moved to a high availability setup -using floating IPs, heartbeat and what not.

    Part of this I guess is I am looking to see about saving persistent data from docker containers into a couple -perhaps three, for postgres, static django files, and perhaps some other things needed- digitalocean block storage volumes that can then be attached to a new droplet if need be when the containers are moved.

    This would be part of the production workflow. I want to see what workflows could work best. Since we are using docker for development, I also am trying to figure out a workflow to seamlessly deploy to production. This is really all complicated and what not, which is why I am looking for guidance -because I think things could be more simple than I think.

Have another answer? Share your knowledge.