-
-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 745 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 745 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
services:
webclaw:
build: .
ports:
- "${WEBCLAW_PORT:-3000}:3000"
env_file:
- .env
environment:
- OLLAMA_HOST=http://ollama:11434
depends_on:
- ollama
restart: unless-stopped
healthcheck:
test: ["CMD", "webclaw", "--help"]
interval: 30s
timeout: 5s
retries: 3
ollama:
image: ollama/ollama:latest
volumes:
- ollama_data:/root/.ollama
restart: unless-stopped
# CPU-only by default. For GPU, uncomment:
# deploy:
# resources:
# reservations:
# devices:
# - capabilities: [gpu]
#
# Pre-pull a model after starting:
# docker compose exec ollama ollama pull qwen3:1.7b
volumes:
ollama_data: