unt-libraries / django-nomination

A Django application for nominating URLs by project.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Update docker-compose file to use version 2 syntax. #76

Closed somexpert closed 8 years ago

somexpert commented 8 years ago

This is to make our docker-compose set-up compatible with current versions of docker-compose and docker-engine. "Version 2" syntax for docker-compose is what is now supported for docker-compose versions 1.6.0 going forward, while the old version is no longer supported as of version 1.7.0 (though not officially deprecated yet, it will be in some unspecified future version). Also the new syntax is supported in docker-engine > 1.10.0. So to if you want to test this change you may need to apt update your docker-engine and pip update your docker-compose. I plan on changing all our other docker-compose files as well so we can continue to use the latest updates.

somexpert commented 8 years ago

ping @ldko, @jason-ellis, @jthomale

somexpert commented 8 years ago

In case you want to read up on the changes: https://docs.docker.com/compose/compose-file/#versioning

ldko commented 8 years ago

:+1: worked for me