1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-08 16:09:53 +02:00

update schema on startup

This commit is contained in:
Andrew Dolgov 2020-09-28 13:55:06 +03:00
parent 1eff29a23f
commit d2e8c85f4c

View file

@ -89,6 +89,8 @@ else
-i.bak $DST_DIR/config.php -i.bak $DST_DIR/config.php
fi fi
cd $DST_DIR && sudo -u app php ./update.php --update-schema force-yes
touch $DST_DIR/.app_is_ready touch $DST_DIR/.app_is_ready
sudo -u app /usr/sbin/php-fpm7 -F sudo -u app /usr/sbin/php-fpm7 -F