-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.mcp.owui.yaml
More file actions
27 lines (27 loc) · 1.47 KB
/
Copy pathcompose.mcp.owui.yaml
File metadata and controls
27 lines (27 loc) · 1.47 KB
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
26
27
services:
mcp-owui:
# openwebui-mcp has no semver release yet; pinned to its latest built commit.
# Check for a newer sha-<commit> tag at https://github.com/vedmaka/openwebui-mcp/pkgs/container/openwebui-mcp
image: ghcr.io/vedmaka/openwebui-mcp:sha-6b28eda047b1b978e6b26978d713d3f22422df56
command: [ "--transport", "streamable-http", "--host", "0.0.0.0", "--port", "8001" ]
restart: unless-stopped
environment:
OPENWEBUI_BASE_URL: "${MCP_OPENWEBUI_BASE_URL:-http://openwebui:8080}"
OPENWEBUI_API_KEY: "${MCP_OPENWEBUI_API_KEY}"
OPENWEBUI_DEFAULT_MODEL: "${MCP_OPENWEBUI_DEFAULT_MODEL:-}"
OPENWEBUI_ENFORCE_DEFAULT_MODEL: "${MCP_OPENWEBUI_ENFORCE_DEFAULT_MODEL:-false}"
OPENWEBUI_ASK_DESCRIPTION: "${MCP_OPENWEBUI_ASK_DESCRIPTION:-}"
OPENWEBUI_INSTRUCTIONS: "${MCP_OPENWEBUI_INSTRUCTIONS:-}"
# unset OPENWEBUI_MCP_TOKEN leaves the bridge open to any listener (per
# upstream's own docs), so require it explicitly rather than default to that
OPENWEBUI_MCP_TOKEN: "${MCP_OPENWEBUI_MCP_TOKEN:?Set MCP_OPENWEBUI_MCP_TOKEN in .env — the MCP bridge refuses to start without it}"
OWUI_TIMEOUT_MS: "${MCP_OWUI_TIMEOUT_MS:-120000}"
OPENWEBUI_CA_BUNDLE: "${MCP_OPENWEBUI_CA_BUNDLE:-}"
OPENWEBUI_SSL_VERIFY: "${MCP_OPENWEBUI_SSL_VERIFY:-true}"
ports:
- "${MCP_PORT:-8001}:8001"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
openwebui:
condition: service_healthy