mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-14 21:45:37 -05:00
fixed an issue with the docker entrypoint script.
This commit is contained in:
@@ -25,6 +25,11 @@ wait_for_postgres() {
|
|||||||
host="${PAPERLESS_DBHOST}"
|
host="${PAPERLESS_DBHOST}"
|
||||||
port="${PAPERLESS_DBPORT}"
|
port="${PAPERLESS_DBPORT}"
|
||||||
|
|
||||||
|
if [[ -z $port ]] ;
|
||||||
|
then
|
||||||
|
port="5432"
|
||||||
|
fi
|
||||||
|
|
||||||
while !</dev/tcp/$host/$port ;
|
while !</dev/tcp/$host/$port ;
|
||||||
do
|
do
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user