tests: fix redirect test compose file

This commit is contained in:
Nicolas Duchon 2024-12-08 18:38:05 +01:00
parent 2dd672ac9d
commit ee899506f0

View file

@ -1,14 +1,15 @@
web1: services:
image: web web1:
expose: image: web
- "81" expose:
environment: - "81"
WEB_PORTS: "81" environment:
VIRTUAL_HOST: "web1.nginx-proxy.tld" WEB_PORTS: "81"
VIRTUAL_HOST: "web1.nginx-proxy.tld"
sut: sut:
image: nginxproxy/nginx-proxy:test image: nginxproxy/nginx-proxy:test
volumes: volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
- ../lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro - ../lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro
- ./certs:/etc/nginx/certs:ro - ./certs:/etc/nginx/certs:ro