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:
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
.env
|
||||
.venv
|
||||
.vscode
|
||||
*.log
|
||||
.DS_Store
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user