Files
mcp-maildir/docker-compose.yml
T
jcabillot 1115db82ed
Main Release / test (push) Successful in 2m54s
Docker Build and Push / integration-test (push) Successful in 3m12s
Main Release / integration-test (push) Successful in 3m17s
Main Release / hadolint (push) Successful in 17s
Docker Build and Push / test (push) Successful in 3m0s
Main Release / build (push) Successful in 21s
Renovate / renovate (push) Successful in 59s
Main Release / tag (push) Successful in 17s
Tag Release / hadolint (push) Successful in 24s
Docker Build and Push / build (push) Successful in 4m25s
Tag Release / test (push) Successful in 2m42s
Tag Release / integration-test (push) Successful in 2m35s
Tag Release / build-push (push) Successful in 3m4s
Merge pull request 'ci: harden the qdrant integration job (5s client timeout + cold storage)' (#60) from ci/harden-qdrant-integration into main
Reviewed-on: #60
2026-10-17 17:42:56 -04:00

32 lines
931 B
YAML

services:
qdrant:
image: docker.io/qdrant/qdrant:v1.19
container_name: mcp_maildir_qdrant
ports:
- "127.0.0.1:6333:6333" # REST API
- "127.0.0.1:6334:6334" # gRPC API
volumes:
- ./qdrant_storage:/qdrant/storage:z
restart: unless-stopped
mcp-server:
build:
context: .
dockerfile: pkg/Dockerfile
container_name: mcp_maildir_server
ports:
- "127.0.0.1:8000:8000" # Expose the MCP Streamable HTTP server (/mcp)
env_file:
- .env
environment:
# Override Qdrant URL to point to the docker-compose service
- QDRANT_URL=http://qdrant:6333
volumes:
# Mount the source code for hot-reloading (optional)
- ./src:/app/src:ro,z
# Mount the maildir dump as read-only.
# Ensure you set MAILDIR_PATH in your .env file
- ${MAILDIR_PATH:-./maildir_dump}:/path/to/your/maildir/dump:ro,z
depends_on:
- qdrant