-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
51 lines (49 loc) · 1.23 KB
/
compose.yml
File metadata and controls
51 lines (49 loc) · 1.23 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
services:
node:
image: ghcr.io/hanzoai/node:latest
ports:
- "3690:3690"
- "3691:3691"
- "3692:3692"
environment:
- EMBEDDINGS_SERVER_URL=http://engine:36900/v1
- RUST_LOG=info
- NODE_API_IP=0.0.0.0
- NODE_API_PORT=3690
- NODE_WS_PORT=3691
- NODE_PORT=3692
- GLOBAL_IDENTITY_NAME=@@my_local_ai.sep-hanzo
- NO_SECRET_FILE=true
- LOG_SIMPLE=true
- NODE_STORAGE_PATH=/data
- INITIAL_AGENT_NAMES=do_qwen32b
- INITIAL_AGENT_URLS=https://inference.do-ai.run
- INITIAL_AGENT_MODELS=openai:alibaba-qwen3-32b
volumes:
- node-data:/data
depends_on:
engine:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3690/v2/health_check"]
interval: 30s
timeout: 10s
start_period: 40s
retries: 3
engine:
image: ghcr.io/hanzoai/engine:latest
ports:
- "36900:36900"
volumes:
- ~/.cache/huggingface:/data
environment:
- RUST_LOG=info
- PORT=36900
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:36900/health"]
interval: 30s
timeout: 10s
start_period: 60s
retries: 3
volumes:
node-data: