test_cert_selection.yml 718 B

123456789101112131415161718192021222324252627282930313233
  1. services:
  2. base:
  3. image: web
  4. environment:
  5. WEB_PORTS: "80"
  6. VIRTUAL_HOST: "nginx-proxy.tld"
  7. www:
  8. image: web
  9. environment:
  10. WEB_PORTS: "80"
  11. VIRTUAL_HOST: "www.nginx-proxy.tld"
  12. sub-www:
  13. image: web
  14. environment:
  15. WEB_PORTS: "80"
  16. VIRTUAL_HOST: "subdomain.www.nginx-proxy.tld"
  17. web1:
  18. image: web
  19. environment:
  20. WEB_PORTS: "80"
  21. VIRTUAL_HOST: "web1.nginx-proxy.tld"
  22. sut:
  23. image: nginxproxy/nginx-proxy:test
  24. volumes:
  25. - /var/run/docker.sock:/tmp/docker.sock:ro
  26. - ./cert_selection:/etc/nginx/certs:ro
  27. - ./acme_root:/usr/share/nginx/html:ro
  28. environment:
  29. DEBUG_ENDPOINT: "true"