From d2be89c50227ddb91caacf19b08570a693c3402d Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 19 Jul 2023 14:03:02 +0200 Subject: [PATCH] nextcloud container - make tmp a tmpfs Signed-off-by: Simon L --- Containers/nextcloud/Dockerfile | 1 + php/containers.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index ef9b69a9..8d643642 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -209,6 +209,7 @@ RUN set -ex; \ chown www-data:root -R /usr/src && \ chown www-data:root -R /usr/local/etc/php/conf.d && \ chown www-data:root -R /usr/local/etc/php-fpm.d && \ + chmod -R 777 /tmp; \ rm -r /usr/src/nextcloud/apps/updatenotification; \ \ mkdir -p /nc-updater; \ diff --git a/php/containers.json b/php/containers.json index 43d1488e..ce0f4d55 100644 --- a/php/containers.json +++ b/php/containers.json @@ -209,6 +209,9 @@ ], "networks": [ "nextcloud-aio" + ], + "tmpfs": [ + "/tmp" ] }, {