From 1853d1c9f161905a569a254366e790afbd85ad4f Mon Sep 17 00:00:00 2001 From: Rene Fichtmueller Date: Sun, 29 Mar 2026 08:21:14 +0800 Subject: [PATCH] feat(deploy): add tip-mcp PM2 process (port 3202) + Cloudflare tunnel tip.context-x.org --- ecosystem.config.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ecosystem.config.js b/ecosystem.config.js index 9baa9db..e9f7154 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -23,6 +23,30 @@ module.exports = { instances: 1, autorestart: true, }, + { + name: "tip-mcp", + script: "./node_modules/.bin/tsx", + args: "packages/mcp-server/src/http-server.ts", + cwd: "/opt/tip", + interpreter: "none", + exec_mode: "fork", + env: { + NODE_ENV: "production", + MCP_HTTP_PORT: "3202", + MCP_SECRET: "tip-mcp-2026-prod", + POSTGRES_HOST: "localhost", + POSTGRES_PORT: "5433", + POSTGRES_DB: "transceiver_db", + POSTGRES_USER: "tip", + POSTGRES_PASSWORD: "tip_prod_2026", + QDRANT_URL: "http://localhost:6333", + OLLAMA_URL: "http://localhost:11434", + CORS_ORIGINS: "https://eo-global-pulse.context-x.org,https://switchblade.context-x.org", + }, + max_memory_restart: "300M", + instances: 1, + autorestart: true, + }, { name: "tip-scraper", script: "./node_modules/.bin/tsx",