Created
May 3, 2020 04:50
-
-
Save supakornkim/97969120b41702fbe0d29d2fcecd46e8 to your computer and use it in GitHub Desktop.
nginx
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 | |
container_name: homepage_frontend | |
restart: always | |
volumes: | |
- ./app:/usr/share/nginx/html:ro | |
environment: | |
- VIRTUAL_HOST=xx.xx.xx.xx, ec2-xx-xx-xx-xx.ap-southeast-1.compute.amazonaws.com | |
networks: | |
default: | |
external: | |
name: nginx-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment