本地部署:顶层 docker-compose/config,域名 agent.ai.foresh.com(nginx-proxy VIRTUAL_HOST + external my-app-network,仅内网 expose 8080,config 只读挂载);配置后缀统一 .yaml→.yml(文件与全部引用,含 Dockerfile/AGENT_CONFIG/config.js/smoke)。smoke 25/25 通过

This commit is contained in:
2026-08-31 08:42:16 +08:00
parent cef9f815f7
commit b816efc23f
12 changed files with 92 additions and 86 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ COPY package.json package-lock.json ./
RUN npm install --omit=dev --no-audit --no-fund
COPY server ./server
COPY config.example.yaml ./
COPY config.example.yml ./
EXPOSE 8080
ENV AGENT_CONFIG=/app/config.yaml
ENV AGENT_CONFIG=/app/config.yml
CMD ["node", "server/server.js"]