Skip to content

Support for Docker Images to Simplify Deployment with SSE/HTTP Remote Server #28

@dmytroDragan

Description

@dmytroDragan

Hello there!

First of all, thank you for the fantastic work on this project – it’s been really helpful!

With the recent support for SSE/HTTP remote servers, it would be amazing to have an official option to work with Docker images instead of building from source every time. This would greatly simplify deployment and improve consistency.

As a starting point, here is a simple example Dockerfile and docker-compose configuration that I use and it could serve as a reference or even be adapted for official use:

Dockerfile

FROM python:3.11-slim

WORKDIR /app

COPY pyproject.toml .

COPY README.md .

COPY src ./src

RUN pip install --upgrade pip \
    && pip install uv

# Install project dependencies
RUN pip install .

EXPOSE 8000

ENTRYPOINT ["uv", "run", "mcp-server-datahub", "--transport", "http", "--debug"]

docker-compose.yml

services:
  mcp-server-datahub:
    build: .
    ports:
      - "8000:8000"
    env_file:
      - .env
    restart: unless-stopped

I believe official Docker support would be a great addition for users who want a streamlined local or containerized setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions