mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-03 01:30:11 +00:00
17 lines
447 B
Batchfile
17 lines
447 B
Batchfile
@echo off
|
|
|
|
REM Up the provider in windows
|
|
start ollama serve
|
|
|
|
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 |