We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9761e commit b370f34Copy full SHA for b370f34
projects/ollama-openwebui-chatbot/docker-compose.yaml
@@ -0,0 +1,36 @@
1
+services:
2
+ ollama:
3
+ image: ollama/ollama:latest
4
+ container_name: ollama
5
+ ports:
6
+ - "11434:11434"
7
+ volumes:
8
+ - ollama-data:/root/.ollama
9
+ deploy:
10
+ resources:
11
+ reservations:
12
+ devices:
13
+ - driver: nvidia
14
+ count: all
15
+ capabilities: [gpu]
16
+ restart: unless-stopped
17
+
18
+ webui:
19
+ image: ghcr.io/open-webui/open-webui:main
20
+ container_name: open-webui
21
22
+ - "3000:8080"
23
+ depends_on:
24
+ - ollama
25
+ environment:
26
+ - OLLAMA_BASE_URL=http://ollama:11434
27
+ - WEBUI_AUTH=False
28
29
30
+ - open-webui:/app/backend/data
31
32
+volumes:
33
+ ollama-data:
34
+ name: ollama-data
35
+ open-webui:
36
+ name: open-webui
0 commit comments