security: remove hardcoded secrets from ecosystem.config.js, add example template
This commit is contained in:
parent
58a26116b1
commit
ea554ebd6f
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,6 +5,8 @@ dist/
|
|||||||
.env*
|
.env*
|
||||||
.dev.vars
|
.dev.vars
|
||||||
*.local
|
*.local
|
||||||
|
wrangler.toml
|
||||||
|
ecosystem.config.js
|
||||||
|
|
||||||
# Downloaded product assets (images, PDFs)
|
# Downloaded product assets (images, PDFs)
|
||||||
assets/images/
|
assets/images/
|
||||||
|
|||||||
@ -14,8 +14,8 @@ module.exports = {
|
|||||||
POSTGRES_PORT: "5433",
|
POSTGRES_PORT: "5433",
|
||||||
POSTGRES_DB: "transceiver_db",
|
POSTGRES_DB: "transceiver_db",
|
||||||
POSTGRES_USER: "tip",
|
POSTGRES_USER: "tip",
|
||||||
POSTGRES_PASSWORD: "***REDACTED***",
|
POSTGRES_PASSWORD: "CHANGE_ME",
|
||||||
OLLAMA_URL: "http://192.168.178.213:11434",
|
OLLAMA_URL: "http://YOUR_OLLAMA_HOST:11434",
|
||||||
QDRANT_URL: "http://localhost:6333",
|
QDRANT_URL: "http://localhost:6333",
|
||||||
DOCLING_URL: "http://localhost:8100",
|
DOCLING_URL: "http://localhost:8100",
|
||||||
},
|
},
|
||||||
@ -33,15 +33,15 @@ module.exports = {
|
|||||||
env: {
|
env: {
|
||||||
NODE_ENV: "production",
|
NODE_ENV: "production",
|
||||||
MCP_HTTP_PORT: "3202",
|
MCP_HTTP_PORT: "3202",
|
||||||
MCP_SECRET: "tip-mcp-2026-prod",
|
MCP_SECRET: "CHANGE_ME",
|
||||||
POSTGRES_HOST: "localhost",
|
POSTGRES_HOST: "localhost",
|
||||||
POSTGRES_PORT: "5433",
|
POSTGRES_PORT: "5433",
|
||||||
POSTGRES_DB: "transceiver_db",
|
POSTGRES_DB: "transceiver_db",
|
||||||
POSTGRES_USER: "tip",
|
POSTGRES_USER: "tip",
|
||||||
POSTGRES_PASSWORD: "***REDACTED***",
|
POSTGRES_PASSWORD: "CHANGE_ME",
|
||||||
QDRANT_URL: "http://localhost:6333",
|
QDRANT_URL: "http://localhost:6333",
|
||||||
OLLAMA_URL: "http://192.168.178.213:11434",
|
OLLAMA_URL: "http://YOUR_OLLAMA_HOST:11434",
|
||||||
CORS_ORIGINS: "https://eo-global-pulse.context-x.org,https://switchblade.context-x.org",
|
CORS_ORIGINS: "https://your-domain.example.com",
|
||||||
},
|
},
|
||||||
max_memory_restart: "300M",
|
max_memory_restart: "300M",
|
||||||
instances: 1,
|
instances: 1,
|
||||||
@ -60,7 +60,7 @@ module.exports = {
|
|||||||
POSTGRES_PORT: "5433",
|
POSTGRES_PORT: "5433",
|
||||||
POSTGRES_DB: "transceiver_db",
|
POSTGRES_DB: "transceiver_db",
|
||||||
POSTGRES_USER: "tip",
|
POSTGRES_USER: "tip",
|
||||||
POSTGRES_PASSWORD: "***REDACTED***",
|
POSTGRES_PASSWORD: "CHANGE_ME",
|
||||||
},
|
},
|
||||||
max_memory_restart: "1G",
|
max_memory_restart: "1G",
|
||||||
instances: 1,
|
instances: 1,
|
||||||
Loading…
x
Reference in New Issue
Block a user