Created
April 16, 2017 16:15
-
-
Save pboethig/f389995c2a2cda0cc9516eae9a1aff8b 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: '2' | |
services: | |
proxy: | |
image: sameersbn/nginx:1.10.3 | |
hostname: proxy | |
ports: | |
- "8080:80" | |
volumes: | |
- ./nginx/sites-enabled:/etc/nginx/sites-enabled | |
- ./logs/proxy/nginx/:/var/log/nginx | |
networks: | |
- internal | |
front1: | |
image: sameersbn/nginx:1.10.3 | |
hostname: front1 | |
volumes: | |
#- ./nginx_front1/sites-enabled:/etc/nginx/sites-enabled | |
- ./logs/front1/nginx/:/var/log/nginx | |
- ./nginx_front1/www:/usr/share/nginx/html | |
networks: | |
- internal | |
networks: | |
internal: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment