forked from netclaw-dev/netclaw-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.screenshots.yml
More file actions
66 lines (62 loc) · 2.07 KB
/
Copy pathdocker-compose.screenshots.yml
File metadata and controls
66 lines (62 loc) · 2.07 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
services:
ollama:
image: ollama/ollama:latest
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- screenshot-ollama-data:/root/.ollama
ollama-init:
image: curlimages/curl:8.13.0
entrypoint: ["/bin/sh", "/usr/local/bin/ollama-init.sh"]
environment:
OLLAMA_MODEL: ${OLLAMA_MODEL:-qwen2:0.5b}
depends_on:
- ollama
volumes:
- ./screenshots/scripts/ollama-init.sh:/usr/local/bin/ollama-init.sh:ro
mcp-demo:
build: ./screenshots/mcp-server
expose:
- "8080"
healthcheck:
test: ["CMD", "python", "-c", "import socket; s=socket.create_connection(('127.0.0.1',8080),2); s.close()"]
interval: 5s
timeout: 5s
retries: 10
start_period: 5s
netclawd:
image: ${NETCLAW_IMAGE:-ghcr.io/netclaw-dev/netclawd:dev}
ports:
- "${NETCLAW_PORT:-5299}:5199"
depends_on:
ollama-init:
condition: service_completed_successfully
mcp-demo:
condition: service_healthy
environment:
NETCLAW_Daemon__Host: "0.0.0.0"
NETCLAW_Daemon__Port: "5199"
NETCLAW_Daemon__DisableSelfUpdate: "true"
NETCLAW_Providers__local-ollama__Type: ollama
NETCLAW_Providers__local-ollama__Endpoint: http://ollama:11434
NETCLAW_Models__Main__Provider: local-ollama
NETCLAW_Models__Main__ModelId: ${OLLAMA_MODEL:-qwen2:0.5b}
NETCLAW_Models__Fallback__Provider: local-ollama
NETCLAW_Models__Fallback__ModelId: ${OLLAMA_MODEL:-qwen2:0.5b}
NETCLAW_Models__Compaction__Provider: local-ollama
NETCLAW_Models__Compaction__ModelId: ${OLLAMA_MODEL:-qwen2:0.5b}
NETCLAW_McpServers__demo-utilities__Transport: http
NETCLAW_McpServers__demo-utilities__Url: http://mcp-demo:8080/mcp
NETCLAW_McpServers__demo-utilities__Enabled: "true"
volumes:
- screenshot-netclaw-home:/root/.netclaw
healthcheck:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:5199/api/health/ready"]
interval: 5s
timeout: 5s
retries: 30
start_period: 10s
volumes:
screenshot-ollama-data:
screenshot-netclaw-home: