-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
29 lines (29 loc) · 1.02 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
29 lines (29 loc) · 1.02 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
28
29
services:
openapi-to-mcp:
image: evilfreelancer/openapi-to-mcp:latest
#build:
# context: .
# dockerfile: Dockerfile
env_file: .env
environment:
MCP_API_BASE_URL: ${MCP_API_BASE_URL:-http://127.0.0.1:3000}
MCP_API_BASIC_AUTH: ${MCP_API_BASIC_AUTH:-}
MCP_API_BEARER_TOKEN: ${MCP_API_BEARER_TOKEN:-}
MCP_OPENAPI_SPEC: ${MCP_OPENAPI_SPEC:-}
MCP_INCLUDE_ENDPOINTS: ${MCP_INCLUDE_ENDPOINTS:-}
MCP_EXCLUDE_ENDPOINTS: ${MCP_EXCLUDE_ENDPOINTS:-}
MCP_TOOL_PREFIX: ${MCP_TOOL_PREFIX:-}
MCP_SERVER_NAME: ${MCP_SERVER_NAME:-openapi-to-mcp}
MCP_PORT: ${MCP_PORT:-3100}
MCP_HOST: ${MCP_HOST:-0.0.0.0}
MCP_INSTRUCTIONS_FILE: ${MCP_INSTRUCTIONS_FILE:-}
MCP_INSTRUCTIONS_MODE: ${MCP_INSTRUCTIONS_MODE:-default}
MCP_CONVERT_HTML_TO_MARKDOWN: ${MCP_CONVERT_HTML_TO_MARKDOWN:-true}
MCP_LOG_LEVEL: ${MCP_LOG_LEVEL:-INFO}
ports:
- "3100:3100"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "100k"