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):
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user