-
-
Save roy-n-roy/85ea606ff01da712dfea8de297e04b13 to your computer and use it in GitHub Desktop.
Serve static web site setting by 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' | |
services: | |
nginx: | |
image: nginx | |
ports: | |
- "80:80" | |
environment: | |
- NGINX_HOST=http://hogehoge.com/ | |
- NGINX_PORT=80 | |
read_only: true | |
volumes: | |
- ./nginx-cache:/var/cache/nginx | |
- ./nginx-pid:/var/run | |
- ./html:/usr/share/nginx/html:ro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment