fixed an issue with the docker entrypoint script.

This commit is contained in:
jonaswinkler committed 2020-12-10 00:54:37 +01:00
1 parent 2df1894683
commit 24d8a50f01
1 file changed
+5
+5
View File
@@ -25,6 +25,11 @@ wait_for_postgres() {
host="${PAPERLESS_DBHOST}"
port="${PAPERLESS_DBPORT}"
if [[ -z $port ]] ;
then
port="5432"
fi
while !</dev/tcp/$host/$port ;
do