test_http3_vhost.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. volumes:
  2. nginx_conf:
  3. services:
  4. http3-vhost-enabled:
  5. image: web
  6. expose:
  7. - "80"
  8. environment:
  9. WEB_PORTS: 80
  10. VIRTUAL_HOST: http3-vhost-enabled.nginx-proxy.tld
  11. labels:
  12. com.github.nginx-proxy.nginx-proxy.http3.enable: "true"
  13. http3-vhost-disabled:
  14. image: web
  15. expose:
  16. - "80"
  17. environment:
  18. WEB_PORTS: 80
  19. VIRTUAL_HOST: http3-vhost-disabled.nginx-proxy.tld
  20. labels:
  21. com.github.nginx-proxy.nginx-proxy.http3.enable: "false"
  22. http3-vhost-default-disabled:
  23. image: web
  24. expose:
  25. - "80"
  26. environment:
  27. WEB_PORTS: 80
  28. VIRTUAL_HOST: http3-vhost-default-disabled.nginx-proxy.tld
  29. sut:
  30. profiles:
  31. - singleContainer
  32. image: nginxproxy/nginx-proxy:test
  33. volumes:
  34. - &dockerSocket /var/run/docker.sock:/tmp/docker.sock:ro
  35. sut-dockergen:
  36. profiles:
  37. - separateContainers
  38. image: nginxproxy/nginx-proxy:test-dockergen
  39. volumes:
  40. - &confVolume nginx_conf:/etc/nginx/conf.d
  41. - *dockerSocket
  42. sut-nginx:
  43. profiles:
  44. - separateContainers
  45. container_name: nginx-proxy
  46. image: nginx:alpine
  47. volumes:
  48. - *confVolume
  49. labels:
  50. - "com.github.nginx-proxy.nginx-proxy.nginx"