From 668107aae68fb904495942a4858c272877cef5ed Mon Sep 17 00:00:00 2001 From: Lago Date: Mon, 26 Jan 2026 16:42:54 +0100 Subject: [PATCH] feat: Add .gitignore, switch to a pre-built Docker image, configure CalDAV environment variables directly, and update the exposed port. --- .gitignore | 8 ++++++++ README.md | 2 +- docker-compose.yml | 10 +++++----- 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6712e35 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +__pycache__/ +*.py[cod] +*$py.class +.env +.venv +.vscode +*.log +.DS_Store diff --git a/README.md b/README.md index af40561..307c581 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ The container supports two modes via the `MCP_MODE` environment variable: To run in SSE mode (e.g., for HTTP access): ```bash -docker run -e MCP_MODE=SSE -p 8000:8000 --env-file .env mcp-caldav +docker run -e MCP_MODE=SSE -p 8000:8000 --env-file .env lagortinez/caldev_mcp ``` ### Configuring an MCP Client diff --git a/docker-compose.yml b/docker-compose.yml index dbedfff..d6d6aae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,13 @@ services: caldev_mcp: - build: . - image: caldev_mcp + image: lagortinez/caldev_mcp environment: - MCP_MODE=${MCP_MODE:-SSE} - env_file: - - .env + - CALDAV_URL + - CALDAV_USERNAME + - CALDAV_PASSWORD ports: - - "8000:8000" + - "23000:8000" volumes: - .:/app stdin_open: true # Open stdin