add db port to installation

This commit is contained in:
Sebastian Hugentobler 2021-08-22 17:40:33 +02:00
parent 8e41d5fe11
commit 068de871e4
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,9 @@ Maximal upload size of a file.
## DB_HOST
Database host.
## DB_PORT
Database port.
## DB_NAME
Database name.

View File

@ -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/ \