mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-09 23:19:52 +02:00
Merge branch 'master' of https://git.tt-rss.org/fox/ttrss-docker-compose
This commit is contained in:
commit
3399b10261
2 changed files with 38 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
@ -33,6 +38,8 @@ for d in cache lock feed-icons; do
|
|||
chmod -R 777 $DST_DIR/$d
|
||||
done
|
||||
|
||||
$PSQL -c "create extension if not exists pg_trgm"
|
||||
|
||||
if ! $PSQL -c 'select * from ttrss_version'; then
|
||||
$PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue