1
0

tests: fix Docker volumes on nginx-proxy setup

This commit is contained in:
Nicolas Duchon 2021-12-08 01:43:58 +01:00
parent 746704cf30
commit eff86377eb
No known key found for this signature in database
GPG Key ID: 91EF7BB1EECB961A

@ -23,8 +23,9 @@ case $SETUP in
2containers)
docker run -d -p 80:80 -p 443:443 \
--name "$NGINX_CONTAINER_NAME" \
-v /etc/nginx/vhost.d \
-v /etc/nginx/certs \
-v /etc/nginx/conf.d \
-v /etc/nginx/vhost.d \
-v /usr/share/nginx/html \
-v /var/run/docker.sock:/tmp/docker.sock:ro \
--label com.github.jrcs.letsencrypt_nginx_proxy_companion.test_suite \
@ -37,8 +38,8 @@ case $SETUP in
docker run -d -p 80:80 -p 443:443 \
--name "$NGINX_CONTAINER_NAME" \
-v /etc/nginx/conf.d \
-v /etc/nginx/certs \
-v /etc/nginx/conf.d \
-v /etc/nginx/vhost.d \
-v /usr/share/nginx/html \
--label com.github.jrcs.letsencrypt_nginx_proxy_companion.test_suite \