$ sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ docker network create -d bridge nginx-proxy
$ git clone https://github.com/guanbo/nginx-proxy-docker.git
$ cd nginx-proxy-docker
$ docker-compose up -d
docker run \
--name $CONTAINER -d \
--env-file ./${NODE_ENV}.env \
--network nginx-proxy \
$IMAGE:$TAG
$ docker logs nginx
$ docker exec -it nginx-gen cat /etc/nginx/conf.d/default.conf