-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
101 lines (97 loc) · 2.97 KB
/
docker-compose.yml
File metadata and controls
101 lines (97 loc) · 2.97 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: holosophos
environment:
- CODEARKT_EXECUTOR_URL=http://executor:8000
- ACADEMIA_MCP_URL=http://academia:${ACADEMIA_PORT:-5056}/mcp
- MLE_KIT_MCP_URL=http://mle_kit:${MLE_KIT_PORT:-5057}/mcp
- PHOENIX_URL=http://phoenix:6006
- MODEL_NAME=deepseek/deepseek-chat-v3.1
- WORKSPACE_DIR=/workdir
volumes:
- ./workdir:/workdir
env_file:
- .env
depends_on:
executor:
condition: service_healthy
phoenix:
condition: service_started
academia:
condition: service_healthy
mle_kit:
condition: service_healthy
ports:
- "${APP_PORT:-5055}:5055"
command: ["python", "-m", "holosophos.server", "--port", "5055", "--enable-phoenix"]
executor:
image: phoenix120/codearkt_http@sha256:8866223c75d644f51d0da5f12a8400ae4aa62262d5331b0e69dc7a3576055873
environment:
- SERVER_URL_TEMPLATE=http://app:{port}
read_only: true
tmpfs:
- /tmp:rw,size=64m
- /run:rw,size=16m
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
deploy:
resources:
limits:
cpus: "0.5"
memory: 1g
pids: 256
expose:
- "8000"
healthcheck:
test: ["CMD", "python3", "-c", "import socket; s=socket.socket(); s.settimeout(1); s.connect(('localhost',8000)); s.close()"]
interval: 5s
timeout: 2s
retries: 30
env_file:
- .env
phoenix:
image: arizephoenix/phoenix
ports:
- "${PHOENIX_UI_PORT:-6006}:6006"
- "${PHOENIX_OTLP_PORT:-4317}:4317"
env_file:
- .env
academia:
image: phoenix120/academia_mcp:1.11.10
command: ["python", "-m", "academia_mcp", "--transport", "streamable-http", "--host", "0.0.0.0", "--port", "${ACADEMIA_PORT:-5056}"]
ports:
- "${ACADEMIA_PORT:-5056}:${ACADEMIA_PORT:-5056}"
healthcheck:
test: ["CMD", "python3", "-c", "import os,socket; p=int(os.environ.get('ACADEMIA_PORT',5056)); s=socket.socket(); s.settimeout(1); s.connect(('localhost',p)); s.close()"]
interval: 5s
timeout: 2s
retries: 30
environment:
- WORKSPACE_DIR=/workdir
volumes:
- ./workdir:/workdir
env_file:
- .env
mle_kit:
image: phoenix120/mle_kit_mcp:1.2.10
command: ["python", "-m", "mle_kit_mcp", "--transport", "streamable-http", "--host", "0.0.0.0", "--port", "${MLE_KIT_PORT:-5057}"]
ports:
- "${MLE_KIT_PORT:-5057}:${MLE_KIT_PORT:-5057}"
environment:
- WORKSPACE_DIR=/workdir
- HOST_WORKSPACE_DIR=${PWD}/workdir
volumes:
- ./workdir:/workdir
- /var/run/docker.sock:/var/run/docker.sock
healthcheck:
test: ["CMD", "python3", "-c", "import os,socket; p=int(os.environ.get('MLE_KIT_PORT',5057)); s=socket.socket(); s.settimeout(1); s.connect(('localhost',p)); s.close()"]
interval: 5s
timeout: 2s
retries: 30
env_file:
- .env