mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-09 21:09:52 +02:00
pg_isready: don't try to connect as root
This commit is contained in:
parent
28b0ad6ac9
commit
9adf705f70
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
while ! pg_isready -h $DB_HOST; do
|
while ! pg_isready -h $DB_HOST -U $DB_USER; do
|
||||||
echo waiting until $DB_HOST is ready...
|
echo waiting until $DB_HOST is ready...
|
||||||
sleep 3
|
sleep 3
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue