-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 1.03 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
services:
cerebellum:
build:
context: .
dockerfile: ./cerebellum/Dockerfile
ports:
- "50051:50051"
volumes:
- ${CEREWORKER_MODELS:-cerebellum-models}:/root/.cache/huggingface # model weights (host path or Docker volume)
- cerebellum-checkpoints:/checkpoints # persist fine-tuned adapters/weights
- cerebellum-data:/data # training data staging
- ./:/workspace:ro # read-only access for tool verification
- ~/.cereworker/memory:/memory:ro # read-only access for memory verification
environment:
- MODEL_PATH=${MODEL_PATH:-Qwen/Qwen3-0.6B}
- HEARTBEAT_INTERVAL=${HEARTBEAT_INTERVAL:-30}
- CEREBELLUM_PORT=50051
- WORKSPACE_DIR=/workspace
- MEMORY_DIR=/memory
- CHECKPOINT_DIR=/checkpoints
- DATA_DIR=/data
deploy:
resources:
limits:
memory: 2G
restart: unless-stopped
volumes:
cerebellum-models:
cerebellum-checkpoints:
cerebellum-data: