test_global.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. services:
  2. nginx-proxy:
  3. image: nginxproxy/nginx-proxy:test
  4. volumes:
  5. - /var/run/docker.sock:/tmp/docker.sock:ro
  6. environment:
  7. DEBUG_ENDPOINT: "true"
  8. debug_enabled:
  9. image: web
  10. expose:
  11. - "81"
  12. environment:
  13. WEB_PORTS: 81
  14. VIRTUAL_HOST: enabled.debug.nginx-proxy.example
  15. debug_stripped:
  16. image: web
  17. expose:
  18. - "82"
  19. environment:
  20. WEB_PORTS: 82
  21. VIRTUAL_HOST_MULTIPORTS: |-
  22. stripped.debug.nginx-proxy.example:
  23. "/1":
  24. "/2":
  25. "/3":
  26. "/4":
  27. "/5":
  28. "/6":
  29. "/7":
  30. "/8":
  31. "/9":
  32. "/10":
  33. "/11":
  34. "/12":
  35. "/13":
  36. "/14":
  37. "/15":
  38. "/16":
  39. "/17":
  40. "/18":
  41. "/19":
  42. "/20":
  43. debug_disabled:
  44. image: web
  45. expose:
  46. - "83"
  47. environment:
  48. WEB_PORTS: 83
  49. VIRTUAL_HOST: disabled.debug.nginx-proxy.example
  50. labels:
  51. com.github.nginx-proxy.nginx-proxy.debug-endpoint: "false"