File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,20 @@ Configure in the sidebar:
118
118
119
119
## 🐳 Docker Support
120
120
121
- Run Ragadoc in Docker:
121
+ Run Ragadoc and ollama in Docker:
122
122
123
123
``` bash
124
- # Build the image
124
+ # Build the application image
125
125
docker-compose build
126
126
127
- # Start the application
127
+ # Start ollama and the application
128
128
docker-compose up
129
+
130
+ # Install embedding model (required)
131
+ docker exec -it ollama ollama pull nomic-embed-text
132
+
133
+ # Install a chat model (see above for alternatives)
134
+ docker exec -it ollama ollama pull qwen3:14b
129
135
```
130
136
131
137
Access at ` http://localhost:8501 `
Original file line number Diff line number Diff line change @@ -9,10 +9,19 @@ services:
9
9
- " 8501:8501"
10
10
environment :
11
11
# Configure Ollama connection (both env vars for compatibility)
12
- - OLLAMA_HOST=http://host.docker.internal :11434
13
- - OLLAMA_BASE_URL=http://host.docker.internal :11434
12
+ - OLLAMA_HOST=ollama :11434
13
+ - OLLAMA_BASE_URL=http://ollama :11434
14
14
restart : unless-stopped
15
15
volumes :
16
16
- ./data:/app/data # For persistent data storage
17
- extra_hosts :
18
- - " host.docker.internal:host-gateway"
17
+
18
+ ollama :
19
+ image : docker.io/ollama/ollama:latest
20
+ container_name : ollama
21
+ pull_policy : always
22
+ tty : true
23
+ restart : always
24
+ environment :
25
+ - OLLAMA_KEEP_ALIVE=24h
26
+ - OLLAMA_HOST=0.0.0.0
27
+ - OLLAMA_PORT=11434
You can’t perform that action at this time.
0 commit comments