Note:

coreutils must be installed on MacOS to make realpath work.

brew install coreutils

Usage:

git clone github.com:toomaj/docker-postgres.git

cd docker-postgres

sudo chmod +x up

sudo chmod +x stop

bash up