2
0

test_https_port.yml 303 B

12345678910111213141516
  1. web1:
  2. image: web
  3. expose:
  4. - "81"
  5. environment:
  6. WEB_PORTS: "81"
  7. VIRTUAL_HOST: "*.nginx-proxy.tld"
  8. sut:
  9. image: nginxproxy/nginx-proxy:test
  10. volumes:
  11. - /var/run/docker.sock:/tmp/docker.sock:ro
  12. - ./certs:/etc/nginx/certs:ro
  13. environment:
  14. HTTP_PORT: 8080
  15. HTTPS_PORT: 8443