Tricks of depends_on in docker-compose

Usually, I don’t like to write about bugs or flaws of docker-compose, cause I have hope, after short time it will be fixed, and this article will become outdated.
But a lot of people want to work with Docker-compose already now, and we all together step on the same rake. I want to tell you my Docker experience.
If we have only one container, and pack of services inside of it: nginx, php, postgresql or mysql, then you can’t understand Docker magic.
Such approach isn’t following to new trend: microservices, divide complex services to simple. Connect simple services between each other. Makes flexible. Continue reading “Tricks of depends_on in docker-compose”