Fix MCP_ALLOWED_* envs to JSON list format
This commit is contained in:
@@ -28,8 +28,8 @@ export MCP_HOST=127.0.0.1
|
||||
export MCP_PORT=8150
|
||||
export LIGHTRAG_BASE_URL=http://127.0.0.1:9621
|
||||
export MCP_DISABLE_DNS_REBINDING=true
|
||||
export MCP_ALLOWED_HOSTS="192.168.50.185:*,192.168.50.151:*"
|
||||
export MCP_ALLOWED_ORIGINS="http://192.168.50.185:*,http://192.168.50.151:*"
|
||||
export MCP_ALLOWED_HOSTS='["192.168.50.185:*","192.168.50.151:*"]'
|
||||
export MCP_ALLOWED_ORIGINS='["http://192.168.50.185:*","http://192.168.50.151:*"]'
|
||||
lightrag-mcp
|
||||
|
||||
# Smoke test (health + optional retrieval)
|
||||
|
||||
@@ -8,8 +8,8 @@ services:
|
||||
MCP_HOST: 0.0.0.0
|
||||
MCP_PORT: 8150
|
||||
MCP_DISABLE_DNS_REBINDING: "true"
|
||||
MCP_ALLOWED_HOSTS: "192.168.50.185:*,192.168.50.151:*"
|
||||
MCP_ALLOWED_ORIGINS: "http://192.168.50.185:*,http://192.168.50.151:*"
|
||||
MCP_ALLOWED_HOSTS: '["192.168.50.185:*","192.168.50.151:*"]'
|
||||
MCP_ALLOWED_ORIGINS: '["http://192.168.50.185:*","http://192.168.50.151:*"]'
|
||||
LIGHTRAG_BASE_URL: http://host.docker.internal:9621
|
||||
ports:
|
||||
- "8150:8150"
|
||||
|
||||
Reference in New Issue
Block a user