-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-setup.bat
More file actions
87 lines (74 loc) · 2 KB
/
docker-setup.bat
File metadata and controls
87 lines (74 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
@echo off
REM SymChat Docker Setup Script for Windows
REM This script helps you quickly set up SymChat with Docker
echo.
echo =============================
echo SymChat Docker Setup
echo =============================
echo.
REM Check if Docker is installed
docker --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Docker is not installed. Please install Docker Desktop:
echo https://docs.docker.com/desktop/install/windows-install/
pause
exit /b 1
)
REM Check if Docker Compose is installed
docker-compose --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Docker Compose is not installed. Please install Docker Desktop:
echo https://docs.docker.com/desktop/install/windows-install/
pause
exit /b 1
)
echo [OK] Docker and Docker Compose are installed
echo.
REM Check if Docker is running
docker info >nul 2>&1
if errorlevel 1 (
echo [ERROR] Docker daemon is not running. Please start Docker Desktop.
pause
exit /b 1
)
echo [OK] Docker daemon is running
echo.
REM Build and start services
echo Building and starting services...
echo.
docker-compose up -d --build
if errorlevel 1 (
echo [ERROR] Failed to start services. Check the error messages above.
pause
exit /b 1
)
echo.
echo Waiting for services to be healthy...
echo.
timeout /t 10 /nobreak >nul
echo.
echo =============================
echo SymChat is ready!
echo =============================
echo.
echo Access the application at: http://localhost:3000
echo Ollama API available at: http://localhost:11434
echo.
echo.
echo Next steps:
echo.
echo 1. Download a model:
echo - Open http://localhost:3000 in your browser
echo - Click Settings (gear icon) in the sidebar
echo - Select "Model Manager"
echo - Choose a model and click "Download" (e.g., llama3.2, mistral)
echo.
echo 2. View logs:
echo docker-compose logs -f
echo.
echo 3. Stop services:
echo docker-compose down
echo.
echo Tip: The Model Manager provides a user-friendly way to download and manage models!
echo.
pause