Created
October 1, 2018 11:35
-
-
Save mborodov/94be2626cbe5c7901c33e8ddc3fe8c62 to your computer and use it in GitHub Desktop.
Nginx docker compose file
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" | |
services: | |
web: | |
image: nginx:latest | |
container_name: nginx | |
volumes: | |
- ./web:/usr/share/nginx/html | |
ports: | |
- "80:80" | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment