Feature: Adding Meilisearch to 3dealer

This commit is contained in:
2026-08-05 23:12:22 +03:00
parent 5ecad634e2
commit c7bd1efdaa
7 changed files with 1377 additions and 268 deletions
+6
View File
@@ -6,6 +6,7 @@ set -e
if [ "$APP_ENV" != "production" ]; then
echo "[entrypoint] Installing Composer dependencies..."
git config --global --add safe.directory /var/www/html 2>/dev/null || true
git config --global --add safe.directory /var/www/boboko-core 2>/dev/null || true
composer install --no-interaction --prefer-dist
# Re-resolve boboko/* on every boot, whether it's a local path-repo checkout
@@ -42,6 +43,11 @@ if [ "$APP_ENV" != "production" ]; then
# this themselves, since the country import's check-then-insert isn't safe to
# run concurrently.
php artisan lunar:install --quiet || true
# Upserts by primary key (no --refresh), so this stays cheap and idempotent on
# every boot rather than flushing and rebuilding the whole index each time.
echo "[entrypoint] Syncing search indexes..."
php artisan lunar:search:index --quiet || true
fi
exec "$@"