mcp-hub-007: Auth hardening — per-service secrets and env-based config
This commit is contained in:
parent
91f0ce271b
commit
85b3f5b6e2
4 changed files with 36 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ module.exports = {
|
|||
name: 'mcp-hub',
|
||||
script: 'src/index.js',
|
||||
cwd: '/workspace',
|
||||
env: { NODE_ENV: 'production', PORT: 3000 },
|
||||
env: { NODE_ENV: 'development', PORT: 3000, HUB_AUTH: JSON.stringify({"sample-mcp": "changeme"}) },
|
||||
max_restarts: 10,
|
||||
restart_delay: 1000,
|
||||
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
||||
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
name: 'sample-mcp',
|
||||
script: 'sample-mcp/index.js',
|
||||
cwd: '/workspace',
|
||||
env: { NODE_ENV: 'production' },
|
||||
env: { NODE_ENV: 'development', MCP_SECRET: 'changeme' },
|
||||
max_restarts: 10,
|
||||
restart_delay: 2000,
|
||||
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue