feat(backend): ranking 100% Elasticsearch e critérios do PDF

This commit is contained in:
Frederico Castro
2025-12-15 00:13:12 -03:00
parent 70787fbb51
commit 2a0dc1a652
25 changed files with 522 additions and 263 deletions

View File

@@ -17,7 +17,7 @@ pkill -f "ngrok http 5173" 2>/dev/null
echo "[4/5] Criando rede e subindo containers..."
docker network create shared_network 2>/dev/null
docker compose up -d backend frontend
echo "Aguardando backend subir (e Oracle ficar healthy)..."
echo "Aguardando backend subir..."
sleep 10
docker compose up -d backend frontend >/dev/null
@@ -33,9 +33,6 @@ if ! docker ps | grep -q ranking_frontend; then
exit 1
fi
echo "[4b/5] Rodando bootstrap do ranking dentro do backend..."
docker exec ranking_backend bash -lc "ORACLE_LOCAL_DSN=oracle18c:1521/XEPDB1 /app/scripts/bootstrap_ranking.sh"
echo "[5/5] Iniciando ngrok..."
ngrok http 5173 --log=stdout > /tmp/ngrok-ranking.log 2>&1 &