Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit f295391

Browse files
committed
feat(docker): Update indexes on starting up
1 parent 27063c7 commit f295391

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frankenphp/docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
3636
echo "Cleaning up dbrunner cache..."
3737
php bin/console cache:pool:clear cache.dbrunner || true
3838

39+
echo "Updating Meilisearch indexes..."
40+
php bin/console meili:import --update-settings || true
41+
3942
setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
4043
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var
4144
fi

0 commit comments

Comments
 (0)