test_ipv6.yml 634 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. version: '2'
  2. networks:
  3. net1:
  4. enable_ipv6: true
  5. ipam:
  6. config:
  7. - subnet: fd00:1::/80
  8. services:
  9. web1:
  10. image: web
  11. expose:
  12. - "81"
  13. environment:
  14. WEB_PORTS: 81
  15. VIRTUAL_HOST: web1.nginx-proxy.tld
  16. networks:
  17. - net1
  18. web2:
  19. image: web
  20. expose:
  21. - "82"
  22. environment:
  23. WEB_PORTS: 82
  24. VIRTUAL_HOST: web2.nginx-proxy.tld
  25. networks:
  26. - net1
  27. sut:
  28. image: nginxproxy/nginx-proxy:test
  29. volumes:
  30. - /var/run/docker.sock:/tmp/docker.sock:ro
  31. environment:
  32. ENABLE_IPV6: "true"
  33. HTTPS_METHOD: nohttps
  34. networks:
  35. - net1