test_nominal.yml 386 B

12345678910111213141516171819202122
  1. web1:
  2. image: web
  3. expose:
  4. - "81"
  5. environment:
  6. WEB_PORTS: 81
  7. VIRTUAL_HOST: web1.nginx-proxy.tld
  8. web2:
  9. image: web
  10. expose:
  11. - "82"
  12. environment:
  13. WEB_PORTS: 82
  14. VIRTUAL_HOST: web2.nginx-proxy.tld
  15. sut:
  16. image: jwilder/nginx-proxy:test
  17. volumes:
  18. - /var/run/docker.sock:/tmp/docker.sock:ro
  19. - ./lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro