https://github.com/peterj/nginx_playground
playing with nginx, node.js, docker-compose
https://github.com/peterj/nginx_playground
Last synced: 2 months ago
JSON representation
playing with nginx, node.js, docker-compose
- Host: GitHub
- URL: https://github.com/peterj/nginx_playground
- Owner: peterj
- Created: 2015-11-15T07:30:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-15T07:32:05.000Z (over 10 years ago)
- Last Synced: 2025-01-25T04:43:26.176Z (over 1 year ago)
- Language: Nginx
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##Nginx, Node.js and docker-compose playground
Run `docker-compose up`, then `open "$(docker-machine ip $(docker-machine active))"` and check how the host changes on the web page as nginx routes between two containers.
###NGINX
Run nginx container:
`docker run --name my_nginx -P -d nginx`
Check that it's running:
`curl $(docker-machine ip $(docker-machine active)):32769`