vfarcic / books-ms

145 stars 121 forks source link

Update compose files to version 2 format #4

Closed nartamonov closed 7 years ago

nartamonov commented 8 years ago

It seems that version 1 is legacy and according to official manual will be deprecated in future release of docker-compose. Version 2 is recommended format.

vfarcic commented 8 years ago

This repository is used in many articles and The DevOps 2.0 Toolkit: Automating the Continuous Deployment Pipeline with Containerized Microservices. I'll have to go through all of them and make sure that, if needed, the examples are modified to reflect changes in the v2. As a quick workaround, I created a copy of all Docker Compose files and changed them to v2 format (for example, docker-compose-swarm.yml > docker-compose-swarm-v2.yml). The next step will be to do the changes in texts and, gradually, sunset the old compose files.