feat : update .cmd services & requirements.txt
This commit is contained in:
+12
-2
@@ -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
|
||||
Reference in New Issue
Block a user