Add docker-service stubs and ignore runtime artifacts.

This tracks compose and source files for mcp-stub/phoenix while excluding local runtime data and wheel artifacts.

Made-with: Cursor
This commit is contained in:
Barabashka
2026-04-23 12:44:12 +03:00
parent 6ff2c8b754
commit 53d666f0e0
8 changed files with 213 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PHOENIX_WORKING_DIR=/mnt/data
ENV PHOENIX_HOST=0.0.0.0
ENV PHOENIX_PORT=6006
ENV PHOENIX_GRPC_PORT=4317
COPY ./PySocks-1.7.1-py3-none-any.whl /app/PySocks-1.7.1-py3-none-any.whl
RUN pip install --no-cache-dir /app/PySocks-1.7.1-py3-none-any.whl
RUN pip install --no-cache-dir arize-phoenix
WORKDIR /app
RUN mkdir -p /mnt/data
VOLUME ["/mnt/data"]
EXPOSE 6006 4317
CMD ["phoenix", "serve"]
+16
View File
@@ -0,0 +1,16 @@
services:
phoenix:
build:
context: .
dockerfile: Dockerfile
image: local-phoenix:latest
restart: unless-stopped
ports:
- "6006:6006"
- "4317:4317"
environment:
PHOENIX_WORKING_DIR: /mnt/data
# Optional: use external Postgres instead of local SQLite
# PHOENIX_SQL_DATABASE_URL: postgresql://user:password@host:5432/dbname
volumes:
- ./phoenix-data:/mnt/data