Created
January 26, 2022 03:33
-
-
Save esenthil2018/b0aab82c6e3188454a47616c019f2104 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: | |
web1: &web | |
image: nginx | |
volumes: | |
- ./nginx.conf:/etc/nginx/nginx.conf:ro | |
- ./templates:/etc/nginx/templates | |
port: | |
- 80:80 | |
web2: | |
<<: *web | |
port: | |
- 81:80 | |
web3: | |
<<: *web | |
port: | |
- 82:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment