- Login to server with docker installed.
- Clone this repo and go inside:
git clone https://github.com/deenoize/nginx-mongo-docker.git && cd nginx-mongo-docker
- Get the latest version of nginx.tmpl file:
curl https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl > nginx.tmpl
- Start docker-compose:
docker-compose up -d
docker-compose up -d --no-deps --build <service_name>