NGINX docker alpine based image.
git clone ssh://git@github.com/klimby/nginx.git
cd nginx
npm install
docker push klimby/nginx:latest
&nginx nginx:
image: klimby/nginx:latest
container_name: nginx-test
hostname: *nginx
ports: ["8080:80"]
volumes:
- ./app:/app // app dir
- ./default.conf:/etc/nginx/conf.d/default.conf:ro // nginx config
networks:
- nginx-test