-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcompose.yaml
More file actions
32 lines (32 loc) · 1007 Bytes
/
Copy pathcompose.yaml
File metadata and controls
32 lines (32 loc) · 1007 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
26
27
28
29
30
31
32
services:
appwrite-mcp:
build:
context: .
image: appwrite-mcp:local
ports:
- "${PORT:-8000}:8000"
environment:
HOST: 0.0.0.0
PORT: 8000
MCP_TRANSPORT: http
APPWRITE_ENDPOINT: ${APPWRITE_ENDPOINT:-https://cloud.appwrite.io/v1}
APPWRITE_PROJECT_ID: ${APPWRITE_PROJECT_ID:-console}
MCP_PUBLIC_URL: ${MCP_PUBLIC_URL:-http://localhost:8000}
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
DOCS_SEARCH_MIN_SCORE: ${DOCS_SEARCH_MIN_SCORE:-0.25}
DOCS_SEARCH_LIMIT: ${DOCS_SEARCH_LIMIT:-5}
OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT:-}
SENTRY_DSN: ${SENTRY_DSN:-}
SENTRY_ENVIRONMENT: ${SENTRY_ENVIRONMENT:-development}
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/healthz', timeout=2).read()",
]
interval: 10s
timeout: 3s
retries: 3
start_period: 10s