From 6424f9045d27955576a854ca261948efb1ff91ac Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 18 Apr 2022 13:40:51 +0200 Subject: [PATCH] Correct config.php --- nextcloud/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 1ebd1e228..af702807d 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -45,7 +45,9 @@ RUN \ /etc/php7/php.ini \ && sed -i "s|client_max_body_size 512M;|client_max_body_size 10240M;|g" /defaults/default \ # Correct ssl path - && sed -i "s|/data/config/keys|/ssl/nextcloud/keys|g" /defaults/default + && sed -i "s|/data/config/keys|/ssl/nextcloud/keys|g" /defaults/default \ + # Correct initial directory + && sed -i "s|/data|%%datadirectory%%|g" /defaults/config.php ################## # 3 Install apps #