From a783c8d3c0adc2bd8e1d4e543c9722c498c1d80e Mon Sep 17 00:00:00 2001 From: Julien Date: Sat, 10 Oct 2020 18:50:19 +0200 Subject: [PATCH] add export NEXTCLOUD_TRUSTED_DOMAINS Signed-off-by: Julien <4344970+julien235@users.noreply.github.com> --- 20.0/apache/entrypoint.sh | 3 +++ 20.0/fpm-alpine/entrypoint.sh | 3 +++ 20.0/fpm/entrypoint.sh | 3 +++ 3 files changed, 9 insertions(+) diff --git a/20.0/apache/entrypoint.sh b/20.0/apache/entrypoint.sh index b9ec5fc5..037d3b9f 100755 --- a/20.0/apache/entrypoint.sh +++ b/20.0/apache/entrypoint.sh @@ -149,6 +149,9 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "starting nextcloud installation" max_retries=10 try=0 + + file_env NEXTCLOUD_TRUSTED_DOMAINS + until run_as "php /var/www/html/occ maintenance:install $install_options" || [ "$try" -gt "$max_retries" ] do echo "retrying install..." diff --git a/20.0/fpm-alpine/entrypoint.sh b/20.0/fpm-alpine/entrypoint.sh index b9ec5fc5..037d3b9f 100755 --- a/20.0/fpm-alpine/entrypoint.sh +++ b/20.0/fpm-alpine/entrypoint.sh @@ -149,6 +149,9 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "starting nextcloud installation" max_retries=10 try=0 + + file_env NEXTCLOUD_TRUSTED_DOMAINS + until run_as "php /var/www/html/occ maintenance:install $install_options" || [ "$try" -gt "$max_retries" ] do echo "retrying install..." diff --git a/20.0/fpm/entrypoint.sh b/20.0/fpm/entrypoint.sh index b9ec5fc5..6cd32140 100755 --- a/20.0/fpm/entrypoint.sh +++ b/20.0/fpm/entrypoint.sh @@ -149,6 +149,9 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "starting nextcloud installation" max_retries=10 try=0 + + file_env NEXTCLOUD_TRUSTED_DOMAINS + until run_as "php /var/www/html/occ maintenance:install $install_options" || [ "$try" -gt "$max_retries" ] do echo "retrying install..."