If you don’t set a version in your docker-compose yaml file. It defaults to the docker-compose format for version 1.0. This is completely despite what version you have docker-compose installed.
Also to note in Version 1.0: Despite most of the documentation stating you can setup networks. Your networking is not set up to share containers amongst each other in the compose file unless you specific explicit container links.
Otherwise you’re going to get non-descriptive “getaddr socket errors” when you try to connect to the other services.