forked from LukasNespor/dataverse-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (24 loc) · 967 Bytes
/
docker-compose.yml
File metadata and controls
25 lines (24 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
services:
dataverse-mcp:
build: .
container_name: dataverse-mcp
environment:
# Required: your Dataverse environment URL (no trailing slash)
- DATAVERSE_URL=${DATAVERSE_URL}
# Optional: defaults to "common" (works for most single-tenant orgs)
- TENANT_ID=${TENANT_ID:-common}
# Required: Azure AD Application (client) ID from your Entra ID app registration
- CLIENT_ID=${CLIENT_ID}
# Optional: fixed port for interactive auth redirect server (must match published port below)
- AUTH_REDIRECT_PORT=${AUTH_REDIRECT_PORT:-5577}
ports:
# Interactive auth redirect — browser redirects here after sign-in
- "${AUTH_REDIRECT_PORT:-5577}:${AUTH_REDIRECT_PORT:-5577}"
volumes:
# Persist the token cache across container restarts
- dataverse-data:/data
stdin_open: true # Required for stdio MCP transport
tty: false
restart: unless-stopped
volumes:
dataverse-data: