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