From 068de871e432282302f0c0ed723b2c53efbb28db Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 22 Aug 2021 17:40:33 +0200 Subject: [PATCH] add db port to installation --- README.md | 3 +++ rootfs/etc/cont-init.d/00-nextcloud | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 345a8b3..848bfac 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,9 @@ Maximal upload size of a file. ## DB_HOST Database host. +## DB_PORT +Database port. + ## DB_NAME Database name. diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index df6cf5e..d851344 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -11,6 +11,7 @@ if [ ! -f /var/lib/nextcloud/data/.installed ]; then --database-name="$DB_NAME" \ --database-user="$DB_USER" \ --database-pass="$DB_PASSWORD" \ + --database-port="$DB_PORT" \ --admin-user="$ADMIN_USER" \ --admin-pass="$ADMIN_PASSWORD" \ --data-dir=/var/lib/nextcloud/data/ \