]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
docker: set default postgresql port back to 5432 821/head
authorAnthony Ruhier <aruhier@mailbox.org>
Wed, 27 Apr 2022 23:57:43 +0000 (01:57 +0200)
committerAnthony Ruhier <aruhier@mailbox.org>
Thu, 28 Apr 2022 00:04:19 +0000 (02:04 +0200)
Postgresql default port in the docker prepare script has been changed by
mistake to 5342 in commit c2c8a2754. Set it back to 5432.

docker/docker-prepare.sh

index 540b1d7ed6cc969f9e2705f6f22cf793afffef8a..47723378472277a4c63b826c000b044d1e45434c 100755 (executable)
@@ -9,7 +9,7 @@ wait_for_postgres() {
        echo "Waiting for PostgreSQL to start..."
 
        host="${PAPERLESS_DBHOST:=localhost}"
-       port="${PAPERLESS_DBPORT:=5342}"
+       port="${PAPERLESS_DBPORT:=5432}"
 
 
        while [ ! "$(pg_isready -h $host -p $port)" ]; do