support TTRSS_DB_PORT in container startup scripts

This commit is contained in:
Andrew Dolgov
2024-10-21 08:59:55 +03:00
parent 5ea96397c0
commit 9f0eb4d7fc
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ if ! id app; then
adduser -D -h /var/www/html -G app -u $OWNER_UID app
fi
while ! pg_isready -h $TTRSS_DB_HOST -U $TTRSS_DB_USER; do
while ! pg_isready -h $TTRSS_DB_HOST -U $TTRSS_DB_USER -p $TTRSS_DB_PORT; do
echo waiting until $TTRSS_DB_HOST is ready...
sleep 3
done