feat : update .cmd services & requirements.txt

This commit is contained in:
martin legrand
2025-04-16 14:37:45 +02:00
parent 153bd21910
commit f2eda0e7d7
4 changed files with 30 additions and 9 deletions
+12 -2
View File
@@ -3,5 +3,15 @@
REM Up the provider in windows
start ollama serve
REM Up Docker
cd searxng && docker compose up
timeout /t 4 /nobreak >nul
for /f "tokens=*" %%i in ('docker ps -a -q') do docker stop %%i
echo All containers stopped
docker-compose up
if %ERRORLEVEL% neq 0 (
echo Error: Failed to start containers. Check Docker logs with 'docker compose logs'.
echo Possible fixes: Ensure Docker Desktop is running or check if port 8080 is free.
exit /b 1
)
timeout /t 10 /nobreak >nul