Created
September 5, 2019 16:20
-
-
Save darmawan01/9eefcbb878cb0294d5551e8584bcfbc4 to your computer and use it in GitHub Desktop.
Simple docker compose for static web
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" | |
sites: | |
image: nginx:1.15.8-alpine | |
restart: always | |
working_dir: /usr/share/nginx/html | |
ports: | |
- "2000:80" | |
volumes: | |
- ./proxy.conf:/etc/nginx/conf.d/default.conf | |
- ./:/usr/share/nginx/html | |
command: nginx -g "daemon off;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment