- web:
- image: web
- expose:
- - "80"
- - "81"
- environment:
- WEB_PORTS: "80 81"
- VIRTUAL_HOST: "web.nginx-proxy.tld"
- sut:
- image: nginxproxy/nginx-proxy:test
- volumes:
- - /var/run/docker.sock:/tmp/docker.sock:ro
- - ../lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro
|