feat: implement metadata catalog database management

This commit is contained in:
Codex
2026-08-27 22:43:54 +02:00
parent 705af3aeb2
commit 79c4c925b5
86 changed files with 12566 additions and 135 deletions
+10 -2
View File
@@ -21,5 +21,13 @@ if [[ "${THOTH_ENABLE_EMBEDDING_GPU:-0}" == "1" ]]; then
compose_files+=(-f "$ROOT/deploy/compose.embedding-gpu.yaml")
fi
exec docker compose --env-file "$LOCAL_ENV_FILE" \
"${compose_files[@]}" up --build "$@"
compose=(docker compose --env-file "$LOCAL_ENV_FILE" "${compose_files[@]}")
# Migrations are an explicit one-shot operation, never hidden in backend startup. The local
# launcher runs that operation before bringing the foreground stack up so a fresh checkout is
# immediately usable while production operators can invoke the same service during rollout.
"${compose[@]}" build core
"${compose[@]}" up -d catalog-db
"${compose[@]}" run --rm catalog-migrate
exec "${compose[@]}" up --build "$@"