feat: Add .gitignore, switch to a pre-built Docker image, configure CalDAV environment variables directly, and update the exposed port.

This commit is contained in:
Lago
2026-01-26 16:42:54 +01:00
parent 911d3d6560
commit 668107aae6
3 changed files with 14 additions and 6 deletions

8
.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
__pycache__/
*.py[cod]
*$py.class
.env
.venv
.vscode
*.log
.DS_Store

View File

@@ -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

View File

@@ -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