test_https_port.yml 389 B

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