Skip to content

Instantly share code, notes, and snippets.

@mborodov
Created October 1, 2018 11:35
Show Gist options
  • Save mborodov/94be2626cbe5c7901c33e8ddc3fe8c62 to your computer and use it in GitHub Desktop.
Save mborodov/94be2626cbe5c7901c33e8ddc3fe8c62 to your computer and use it in GitHub Desktop.
Nginx docker compose file
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