test_http_port.yml 275 B

123456789101112131415
  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. environment:
  13. HTTP_PORT: 8080
  14. HTTPS_METHOD: nohttps