Loading root/entrypoint.sh +3 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ if [ "$1" = "wallabag" ] || [ "$1" = "migrate" ];then # run migrations cd /var/www/wallabag/ su -c "bin/console doctrine:migrations:migrate --env=prod --no-interaction" -s /bin/sh nobody # some things do not seem to be handled by migrations, sadly # https://github.com/wallabag/wallabag/pull/3868 su -c "bin/console wallabag:install --env=prod --no-interaction" -s /bin/sh nobody # run php-fpm7 exec php-fpm7 -F fi Loading Loading
root/entrypoint.sh +3 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ if [ "$1" = "wallabag" ] || [ "$1" = "migrate" ];then # run migrations cd /var/www/wallabag/ su -c "bin/console doctrine:migrations:migrate --env=prod --no-interaction" -s /bin/sh nobody # some things do not seem to be handled by migrations, sadly # https://github.com/wallabag/wallabag/pull/3868 su -c "bin/console wallabag:install --env=prod --no-interaction" -s /bin/sh nobody # run php-fpm7 exec php-fpm7 -F fi Loading