mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 23:05:42 +01:00
fixed an issue with the docker entrypoint script.
This commit is contained in:
parent
2df1894683
commit
24d8a50f01
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue