Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fixes #87

jonaswinkler45e39d04aed0
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index dfa7cfc65..e2338842b 100644
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -23,8 +23,9 @@ wait_for_postgres() {
echo "Waiting for PostgreSQL to start..."
host="${PAPERLESS_DBHOST}"
+ port="${PAPERLESS_DBPORT}"
- while !</dev/tcp/$host/5432 ;
+ while !</dev/tcp/$host/$port ;
do
if [ $attempt_num -eq $max_attempts ]