Last active
August 13, 2018 21:53
-
-
Save krrg/b2f87eb699dc6bc1e3bddd29f3f5bc0b to your computer and use it in GitHub Desktop.
Nginx Docker Compose
This file contains 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.3' | |
services: | |
web: | |
image: nginx:mainline | |
ports: | |
- 127.0.0.1:3000:3000 | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf:Z | |
command: [nginx-debug, '-g', 'daemon off;'] | |
network_mode: "host" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment