test_http.yml 445 B

123456789101112131415161718192021222324
  1. version: "2"
  2. services:
  3. web:
  4. image: web
  5. expose:
  6. - "80"
  7. environment:
  8. WEB_PORTS: 80
  9. VIRTUAL_HOST: web.nginx-proxy.tld
  10. web-server-tokens-off:
  11. image: web
  12. expose:
  13. - "80"
  14. environment:
  15. WEB_PORTS: 80
  16. VIRTUAL_HOST: web-server-tokens-off.nginx-proxy.tld
  17. SERVER_TOKENS: "off"
  18. sut:
  19. image: nginxproxy/nginx-proxy:test
  20. volumes:
  21. - /var/run/docker.sock:/tmp/docker.sock:ro