forked from r3xakead0/qwen3-container
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 929 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 929 Bytes
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
services:
ollama-qwen3:
image: ghcr.io/r3xakead0/qwen3-container/ollama-qwen3:latest
container_name: ollama-qwen3
ports:
- "11434:11434"
environment:
- OLLAMA_HOST=0.0.0.0:11434
volumes:
- ollama-data:/root/.ollama
restart: unless-stopped
healthcheck:
test: ["CMD", "ollama", "list"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
open-webui:
image: ghcr.io/open-webui/open-webui:latest
container_name: open-webui
depends_on:
- ollama-qwen3
ports:
- "3000:8080"
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY:-secret-key-change-me-in-production}
- ENABLE_SIGNUP=${ENABLE_SIGNUP:-true}
volumes:
- open-webui-data:/app/backend/data
restart: unless-stopped
volumes:
ollama-data:
driver: local
open-webui-data:
driver: local