test_VIRTUAL_PORT.yml 286 B

123456789101112131415
  1. services:
  2. web:
  3. image: web
  4. expose:
  5. - "80"
  6. - "90"
  7. environment:
  8. WEB_PORTS: "80 90"
  9. VIRTUAL_HOST: "web.nginx-proxy.tld"
  10. VIRTUAL_PORT: 90
  11. sut:
  12. image: nginxproxy/nginx-proxy:test
  13. volumes:
  14. - /var/run/docker.sock:/tmp/docker.sock:ro