Efficient development with #docker and docker-compose
▻https://hackernoon.com/efficient-development-with-docker-and-docker-compose-e354b4d24831?source
We are going to set up a development environment for a project consisting of various services. All of these services will be containerized with Docker, and they will all run simultaneously during development using docker-compose.Our environment will feature instant code reloading, test-driven development, database connectivity, dependency management, and more™. It will be possible to easily deploy it to production with docker-compose or with Rancher. And as a bonus, we’ll set up continuous integration on Gitlab.The article is about efficiency, so I’ll get straight to the point.The goalsWe want to:Type code and observe changes as soon as possible in our Docker containers, preferably without manual actions;Have a local environment that is representative of the actual deployment (...)