-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 1.02 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
services:
ai-service:
build:
context: ./ai-service
environment:
- KRONOS_DEVICE=cpu
# Model Registry: HuggingFace model IDs (weights downloaded at startup)
- KRONOS_MODEL_ID=NeoQuasar/Kronos-small
- KRONOS_TOKENIZER_ID=NeoQuasar/Kronos-Tokenizer-base
# Model Parameters
- KRONOS_MAX_CONTEXT=512
- KRONOS_CLIP=5
# Optional: HuggingFace token for private models (mount as secret in production)
# - HF_TOKEN=${HF_TOKEN}
ports:
- "5001:5001"
# Optional: Mount HuggingFace cache to persist downloaded models
# volumes:
# - ./cache/huggingface:/root/.cache/huggingface
trading-service:
build:
context: .
environment:
- PREDICTION_SERVICE_BASE_URL=http://ai-service:5001
ports:
- "8080:8080"
depends_on:
- ai-service
trading-ui:
build:
context: ./trading-ui
environment:
- NEXT_PUBLIC_API_BASE_URL=http://localhost:8080
ports:
- "3000:3000"
depends_on:
- trading-service