-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
45 lines (44 loc) · 1.47 KB
/
compose.yml
File metadata and controls
45 lines (44 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
chdb:
image: pgvector/pgvector:pg16
container_name: chdb
labels:
- "ns.module=channel"
- "ns.component=db"
- "ns.db_owner=channel"
environment:
POSTGRES_USER: channel
POSTGRES_PASSWORD: ${CHANNEL_DB_PASSWORD:-channel_secret}
POSTGRES_DB: channel_mcp
volumes:
- ./data/postgres:/var/lib/postgresql/data
- ./db/init:/docker-entrypoint-initdb.d:ro
ports:
- "127.0.0.1:${PORT_DB_CHANNEL:-${CHANNEL_DB_PORT_PUBLIC:-5434}}:5432"
restart: unless-stopped
chmcp:
build: .
container_name: chmcp
labels:
- "ns.module=channel"
- "ns.component=mcp"
env_file: .env
environment:
CHANNEL_DB_HOST: chdb
LLM_BACKEND: ${LLM_BACKEND:-llm_mcp}
LLM_MCP_BASE_URL: ${LLM_MCP_BASE_URL:-http://llmcore:8080}
LLM_MCP_PROVIDER: ${LLM_MCP_PROVIDER:-auto}
LLM_BACKEND_FALLBACK_OLLAMA: ${LLM_BACKEND_FALLBACK_OLLAMA:-1}
LLM_BACKEND_TIMEOUT_SEC: ${LLM_BACKEND_TIMEOUT_SEC:-30}
TELEGRAM_USE_MCP: ${TELEGRAM_USE_MCP:-0}
TELEGRAM_MCP_BASE_URL: ${TELEGRAM_MCP_BASE_URL:-http://tgapi:8000}
TELEGRAM_MCP_BOT_ID: ${TELEGRAM_MCP_BOT_ID:-}
TELEGRAM_MCP_CHAT_ID: ${TELEGRAM_MCP_CHAT_ID:-}
TELEGRAM_MCP_FALLBACK_DIRECT: ${TELEGRAM_MCP_FALLBACK_DIRECT:-1}
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
depends_on:
- chdb
ports:
- "127.0.0.1:${PORT_MCP_CHANNEL:-${CHANNEL_MCP_PORT:-3334}}:3333"