From 7ad975f4b15598cb86395c267a0376855c51b2cb Mon Sep 17 00:00:00 2001 From: szaimen Date: Tue, 30 Aug 2022 14:24:31 +0200 Subject: [PATCH] the dbpassword and dbuser do not need to be overwritten anymore Signed-off-by: szaimen --- Containers/nextcloud/start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containers/nextcloud/start.sh b/Containers/nextcloud/start.sh index 7cec862c..92cef7f8 100644 --- a/Containers/nextcloud/start.sh +++ b/Containers/nextcloud/start.sh @@ -17,8 +17,9 @@ if [ -f "/var/www/html/config/config.php" ]; then echo "Waiting for the database to start..." sleep 5 done - sed -i "s|'dbuser'.*=>.*$|'dbuser' => '$POSTGRES_USER',|" /var/www/html/config/config.php - sed -i "s|'dbpassword'.*=>.*$|'dbpassword' => '$POSTGRES_PASSWORD',|" /var/www/html/config/config.php + # The code below is hopefully not needed anymore. Was introduced with https://github.com/nextcloud/all-in-one/pull/218 + # sed -i "s|'dbuser'.*=>.*$|'dbuser' => '$POSTGRES_USER',|" /var/www/html/config/config.php + # sed -i "s|'dbpassword'.*=>.*$|'dbpassword' => '$POSTGRES_PASSWORD',|" /var/www/html/config/config.php fi # Run original entrypoint