Docker-Compose example
This file will install postgres docker image with postgres as user and postgres as password.
Installing
curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-``uname -s``-``uname -m`` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compos
Running
sudo docker-compose -f docker.compose.yml up