mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
Implements adaptive scheduling foundation for Phase 2: - Poll cycle metrics: duration, staleness, queue depth, in-flight counters - Adaptive scheduler with pluggable staleness/interval/enqueue interfaces - Config support: ADAPTIVE_POLLING_ENABLED flag + min/max/base intervals - Feature flag defaults to disabled for safe rollout - Scheduler wiring into Monitor with conditional instantiation Tasks 1-3 of 10 complete. Ready for staleness tracker implementation.
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
version: "3.8"
|
|
|
|
x-codex-mcp-http: &codex_mcp_http
|
|
build: .
|
|
image: codex-mcp-server:latest
|
|
entrypoint: /bin/sh
|
|
command: >
|
|
-c 'pip install --quiet --disable-pip-version-check uvicorn starlette sse-starlette &&
|
|
mkdir -p /root/.config &&
|
|
cp -r /gh-config-source /root/.config/gh &&
|
|
exec python /app/server.py'
|
|
volumes:
|
|
- /usr/local/bin/codex:/usr/local/bin/codex:ro
|
|
- /usr/local/lib/node_modules/@openai/codex:/usr/local/lib/node_modules/@openai/codex:ro
|
|
- /usr/local/lib/node_modules/@openai/codex/vendor:/usr/local/vendor:ro
|
|
- /tmp:/tmp
|
|
- /home/pulse/.codex:/root/.codex
|
|
- /home/pulse/.config/gh:/gh-config-source:ro
|
|
- /opt/pulse:/opt/pulse
|
|
- /opt/pulse/.mcp-servers/codex/server_http_fixed.py:/app/server.py:ro
|
|
environment:
|
|
HOME: /root
|
|
labels:
|
|
com.pulse.project: "codex-mcp"
|
|
|
|
services:
|
|
codex-parallel-1:
|
|
<<: *codex_mcp_http
|
|
container_name: codex-parallel-1
|
|
ports:
|
|
- "18765:8765"
|
|
|
|
codex-parallel-2:
|
|
<<: *codex_mcp_http
|
|
container_name: codex-parallel-2
|
|
ports:
|
|
- "18766:8765"
|
|
|
|
codex-parallel-3:
|
|
<<: *codex_mcp_http
|
|
container_name: codex-parallel-3
|
|
ports:
|
|
- "18767:8765"
|