mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose.git
synced 2025-08-18 16:56:57 +02:00
on app startup, wait until database is ready
This commit is contained in:
parent
4442decd2a
commit
e343f3d09f
@ -1,5 +1,10 @@
|
||||
#!/bin/sh -ex
|
||||
|
||||
while ! pg_isready -h $DB_HOST; do
|
||||
echo waiting until $DB_HOST is ready...
|
||||
sleep 3
|
||||
done
|
||||
|
||||
DST_DIR=/var/www/html/tt-rss
|
||||
SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user