From be55bbe7c1e9bc89827cfada472b1ada2eae239d Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 7 Sep 2023 16:55:29 +0200 Subject: [PATCH] nextcloud - limit access to php-fpm Signed-off-by: Simon L --- Containers/nextcloud/Dockerfile | 1 + Containers/nextcloud/entrypoint.sh | 7 ++----- Containers/nextcloud/start.sh | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index 0f04ef0826e..b9e3e78ae68 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -189,6 +189,7 @@ RUN set -ex; \ sudo \ grep \ nodejs \ + bind-tools \ coreutils; \ \ grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \ diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index f58f94ca24b..06d5d166e8f 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -524,11 +524,8 @@ if [ "$COLLABORA_ENABLED" = 'yes' ]; then # Fix https://github.com/nextcloud/all-in-one/issues/188: php /var/www/html/occ config:system:set allow_local_remote_servers --type=bool --value=true # Make collabora more save - COLLABORA_IPv4_ADDRESS="$(echo "