2016-12-09 23:53:23 +00:00
|
|
|
web1:
|
2017-03-07 19:04:44 +00:00
|
|
|
image: web
|
2016-12-09 23:53:23 +00:00
|
|
|
expose:
|
|
|
|
- "81"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: 81
|
|
|
|
VIRTUAL_HOST: web1.nginx-proxy.tld
|
|
|
|
|
|
|
|
web2:
|
|
|
|
image: web
|
2017-03-07 19:04:44 +00:00
|
|
|
expose:
|
2016-12-09 23:53:23 +00:00
|
|
|
- "82"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: 82
|
|
|
|
VIRTUAL_HOST: web2.nginx-proxy.tld
|
|
|
|
|
|
|
|
|
|
|
|
sut:
|
|
|
|
image: jwilder/nginx-proxy:test
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/f00.sock:ro
|
2017-03-07 19:04:44 +00:00
|
|
|
- ./lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro
|
2016-12-09 23:53:23 +00:00
|
|
|
environment:
|
|
|
|
DOCKER_HOST: unix:///f00.sock
|