test_http-port.yml 285 B

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