security: remove hardcoded secrets from ecosystem.config.js, add example template

This commit is contained in:
Rene Fichtmueller 2026-03-31 20:36:33 +02:00
parent 58a26116b1
commit ea554ebd6f
2 changed files with 9 additions and 7 deletions

2
.gitignore vendored
View File

@ -5,6 +5,8 @@ dist/
.env*
.dev.vars
*.local
wrangler.toml
ecosystem.config.js
# Downloaded product assets (images, PDFs)
assets/images/

View File

@ -14,8 +14,8 @@ module.exports = {
POSTGRES_PORT: "5433",
POSTGRES_DB: "transceiver_db",
POSTGRES_USER: "tip",
POSTGRES_PASSWORD: "***REDACTED***",
OLLAMA_URL: "http://192.168.178.213:11434",
POSTGRES_PASSWORD: "CHANGE_ME",
OLLAMA_URL: "http://YOUR_OLLAMA_HOST:11434",
QDRANT_URL: "http://localhost:6333",
DOCLING_URL: "http://localhost:8100",
},
@ -33,15 +33,15 @@ module.exports = {
env: {
NODE_ENV: "production",
MCP_HTTP_PORT: "3202",
MCP_SECRET: "tip-mcp-2026-prod",
MCP_SECRET: "CHANGE_ME",
POSTGRES_HOST: "localhost",
POSTGRES_PORT: "5433",
POSTGRES_DB: "transceiver_db",
POSTGRES_USER: "tip",
POSTGRES_PASSWORD: "***REDACTED***",
POSTGRES_PASSWORD: "CHANGE_ME",
QDRANT_URL: "http://localhost:6333",
OLLAMA_URL: "http://192.168.178.213:11434",
CORS_ORIGINS: "https://eo-global-pulse.context-x.org,https://switchblade.context-x.org",
OLLAMA_URL: "http://YOUR_OLLAMA_HOST:11434",
CORS_ORIGINS: "https://your-domain.example.com",
},
max_memory_restart: "300M",
instances: 1,
@ -60,7 +60,7 @@ module.exports = {
POSTGRES_PORT: "5433",
POSTGRES_DB: "transceiver_db",
POSTGRES_USER: "tip",
POSTGRES_PASSWORD: "***REDACTED***",
POSTGRES_PASSWORD: "CHANGE_ME",
},
max_memory_restart: "1G",
instances: 1,