2017-02-16 22:27:28 +00:00
|
|
|
web1:
|
2017-03-07 19:04:44 +00:00
|
|
|
image: web
|
2017-02-16 22:27:28 +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:
|
2017-02-16 22:27:28 +00:00
|
|
|
- "82"
|
|
|
|
environment:
|
|
|
|
WEB_PORTS: 82
|
|
|
|
VIRTUAL_HOST: web2.nginx-proxy.tld
|
|
|
|
|
|
|
|
|
|
|
|
sut:
|
|
|
|
image: jwilder/nginx-proxy:test
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
2017-03-07 19:04:44 +00:00
|
|
|
- ./lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro
|
2017-02-16 22:27:28 +00:00
|
|
|
environment:
|
|
|
|
ENABLE_IPV6: "true"
|