This commit is contained in:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
mcp-server:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: pkg/Dockerfile
|
||||
container_name: mcp_caldav_server
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
# Mount the source code for hot-reloading (optional)
|
||||
- ./src:/app/src:ro,z
|
||||
# Mount the Radicale data directory as read-only
|
||||
- ${CALDAV_DATA_PATH:-./example_data}:/data:ro,z
|
||||
environment:
|
||||
- CALDAV_DATA_PATH=/data
|
||||
Reference in New Issue
Block a user