- Bridge server with LLM agent tool-use (search_kb, search_products, search_orders, search_inventory, escalate_human) - pgvector RAG knowledge base (95 FAQ chunks) - Auto opportunity creation in Twenty CRM - Auto follow-up task workflow - Chatwoot AgentBot integration (HMAC, webhook) - Docker compose infrastructure (PG18, Redis 8.8, node24-alpine) - Configuration templates (example files) - real secrets excluded via .gitignore
12 lines
400 B
Docker
12 lines
400 B
Docker
# Chatwoot -> LLM -> Twenty CRM 销售桥接
|
|
# 纯 Node 内置模块 + sharp(图片缩放),需 Node 18+(内置 fetch / FormData / Blob)
|
|
FROM node:24-alpine
|
|
WORKDIR /app
|
|
COPY package.json ./
|
|
RUN npm install --omit=dev
|
|
COPY server.js index_kb.js register_agent_bot.js ./
|
|
COPY chatwoot.config.json llm.config.json twenty.config.json kb.config.json ./
|
|
ENV PORT=4000
|
|
EXPOSE 4000
|
|
CMD ["node", "server.js"]
|