-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (30 loc) · 1004 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (30 loc) · 1004 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
services:
machine-core:
build:
context: .
dockerfile: Dockerfile
args:
GITHUB_TOKEN: ${GITHUB_TOKEN}
expose:
- "8000"
environment:
# Agent Config
- AGENT_MAX_ITERATIONS=${AGENT_MAX_ITERATIONS:-10}
- AGENT_TIMEOUT=${AGENT_TIMEOUT:-604800.0}
- AGENT_MAX_TOOL_RETRIES=${AGENT_MAX_TOOL_RETRIES:-15}
- AGENT_ALLOW_SAMPLING=${AGENT_ALLOW_SAMPLING:-true}
# LLM Config
- LLM_PROVIDER=${LLM_PROVIDER:-ollama}
- LLM_MODEL=${LLM_MODEL:-gpt-oss:latest}
# Embedding Config
- EMBEDDING_PROVIDER=${EMBEDDING_PROVIDER:-ollama}
- EMBEDDING_MODEL=${EMBEDDING_MODEL:-nomic-embed-text}
# CORS
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-http://localhost:5173,http://localhost:8000,http://localhost:3000}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 30s
retries: 3
start_period: 5s
restart: always