feat: implement billing, usage tracking, and administrative geocoding features in API with infrastructure updates

This commit is contained in:
Hamza-Ayed
2026-07-28 04:43:23 +03:00
parent 2f7c2066f7
commit dc9d546733
133 changed files with 3599 additions and 356 deletions
+4 -2
View File
@@ -63,9 +63,11 @@ mv "$TMP" "$PBF"
# ── إعادة بناء الرسم ─────────────────────────────────────────────────────
# GraphHopper لا يعيد قراءة الـ PBF إن كان graph-cache موجوداً.
echo "🧹 حذف graph-cache وإعادة بناء الرسم..."
# نحذف المجلدين: graph-cache (من إعدادنا) و default-gh (اسم GraphHopper
# الافتراضي، وهو المستخدم فعلياً إن لم يُقرأ config.yml).
echo "🧹 حذف الرسم المخزّن وإعادة البناء..."
docker compose stop routing || true
rm -rf "$DATA_DIR/graph-cache"
rm -rf "$DATA_DIR/graph-cache" "$DATA_DIR/default-gh"
docker compose up -d routing
echo "⏳ انتظار جهوزية المحرك (قد يستغرق البناء عدة دقائق)..."