test_cert-selection.yml 724 B

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