From 50d5fe90a702ccfa7da978e014cdbf76a83dece6 Mon Sep 17 00:00:00 2001 From: Guillaume Kulakowski Date: Fri, 13 Sep 2024 15:29:07 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20postgres?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 8.3-nextcloud/Dockerfile | 6 ++++++ 8.3-nextcloud/php.d/nextcloud-postgres-recommended.ini | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 8.3-nextcloud/php.d/nextcloud-postgres-recommended.ini diff --git a/8.3-nextcloud/Dockerfile b/8.3-nextcloud/Dockerfile index bb6fe84..1580d90 100644 --- a/8.3-nextcloud/Dockerfile +++ b/8.3-nextcloud/Dockerfile @@ -88,6 +88,11 @@ RUN fetchDeps=" \ libldap2-dev \ # Build dependency for mbstring \ libonig-dev\ + # Dependancy for PostgreSQL \ + libpq \ + # Build dependancies for PostgreSQL \ + postgresql-client \ + postgresql-dev \ # Build dependencies for XML part \ libxml2-dev \ # Build dependencies for Zip \ @@ -120,6 +125,7 @@ RUN fetchDeps=" \ opcache \ pcntl \ pdo_mysql \ + pdo_pgsql \ shmop \ soap \ sysvsem \ diff --git a/8.3-nextcloud/php.d/nextcloud-postgres-recommended.ini b/8.3-nextcloud/php.d/nextcloud-postgres-recommended.ini new file mode 100644 index 0000000..3bdbbe0 --- /dev/null +++ b/8.3-nextcloud/php.d/nextcloud-postgres-recommended.ini @@ -0,0 +1,7 @@ +[PostgreSQL] +pgsql.allow_persistent = On +pgsql.auto_reset_persistent = Off +pgsql.max_persistent = -1 +pgsql.max_links = -1 +pgsql.ignore_notice = 0 +pgsql.log_notice = 0