diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 4832675ab..13a0ba035 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -25,6 +25,11 @@ wait_for_postgres() { host="${PAPERLESS_DBHOST}" port="${PAPERLESS_DBPORT}" + if [[ -z $port ]] ; + then + port="5432" + fi + while !