mirror of
https://github.com/prdlk/vortex.git
synced 2026-08-02 17:31:41 +00:00
One-command local stack: cp .env.example .env && make up. Idempotent bootstrap renders Synapse + bridge configs from pristine upstream examples, provisions databases, registrations, double puppeting, and the admin user. Textual TUI with bridge manager, in-terminal QR login, and drafts panel. MCP server exposes read tools and a human-gated draft send workflow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
559 B
Docker
20 lines
559 B
Docker
FROM python:3.12-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
build-essential libolm-dev libolm3 curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
COPY pyproject.toml ./
|
|
COPY server ./server
|
|
RUN pip install --no-cache-dir .
|
|
|
|
ENV MCP_HTTP_PORT=8765
|
|
|
|
# Any HTTP response (even 4xx/406) means the server is up; curl exits 0 on connect.
|
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
|
|
CMD curl -s -o /dev/null "http://localhost:${MCP_HTTP_PORT:-8765}/mcp" || exit 1
|
|
|
|
CMD ["vortex-mcp"]
|