Created
July 27, 2017 12:48
-
-
Save odedlaz/01f2a303e80f5f9fcf6973892679fe2c to your computer and use it in GitHub Desktop.
A simple docker-compose file for nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
web: | |
image: nginx | |
network_mode: "host" | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf:ro | |
ports: | |
- 80:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment