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): To run in SSE mode (e.g., for HTTP access):
```bash ```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 ### Configuring an MCP Client

View File

@@ -1,13 +1,13 @@
services: services:
caldev_mcp: caldev_mcp:
build: . image: lagortinez/caldev_mcp
image: caldev_mcp
environment: environment:
- MCP_MODE=${MCP_MODE:-SSE} - MCP_MODE=${MCP_MODE:-SSE}
env_file: - CALDAV_URL
- .env - CALDAV_USERNAME
- CALDAV_PASSWORD
ports: ports:
- "8000:8000" - "23000:8000"
volumes: volumes:
- .:/app - .:/app
stdin_open: true # Open stdin stdin_open: true # Open stdin