diff --git a/.docker/php/entrypoint b/.docker/php/entrypoint index c8b52911..ca0f6eb0 100755 --- a/.docker/php/entrypoint +++ b/.docker/php/entrypoint @@ -29,6 +29,7 @@ if [ $1 == "app" ]; then wait_for_db php -r '$connection = new PDO("mysql:host='$DB_HOST';dbname='$DB_DATABASE'", "'$DB_USERNAME'", "'$DB_PASSWORD'"); $connection->query("DESCRIBE migrations");' > /dev/null || php artisan migrate --seed --force su www-data -c 'php artisan migrate --force' + php artisan scout:sync-index-settings php-fpm -F -R -O fi