feat(deploy): add tip-mcp PM2 process (port 3202) + Cloudflare tunnel tip.context-x.org

This commit is contained in:
Rene Fichtmueller 2026-03-29 08:21:14 +08:00
parent 4b452ab49e
commit 1853d1c9f1

View File

@ -23,6 +23,30 @@ module.exports = {
instances: 1, instances: 1,
autorestart: true, 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", name: "tip-scraper",
script: "./node_modules/.bin/tsx", script: "./node_modules/.bin/tsx",