mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-09 22:49:51 +02:00
on app startup, wait until database is ready
This commit is contained in:
parent
4442decd2a
commit
e343f3d09f
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/sh -ex
|
#!/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
|
DST_DIR=/var/www/html/tt-rss
|
||||||
SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git
|
SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue