* feat: support reading Brave API key from a file * chore: add secret file template and gitignore local keys * docs: document optional Docker Compose secrets workflow * fix: trim whitespace API keys and exclude secrets from Docker build * docs: clarify container paths for BRAVE_API_KEY_FILE * test: cover API key file config and expand Docker build context ignores * test: isolate getOptions tests from local env vars * docs: clarify optional use of BRAVE_API_KEY_FILE * docs: document BRAVE_API_KEY_FILE in AWS Marketplace catalog template
25 lines
515 B
YAML
25 lines
515 B
YAML
services:
|
|
mcp-server:
|
|
build: .
|
|
cap_drop:
|
|
- all
|
|
deploy:
|
|
restart_policy:
|
|
condition: any
|
|
delay: 5s
|
|
environment:
|
|
- BRAVE_API_KEY
|
|
- BRAVE_API_KEY_FILE
|
|
- BRAVE_MCP_TRANSPORT=http
|
|
- BRAVE_MCP_PORT=8080
|
|
- BRAVE_MCP_STATELESS
|
|
- BRAVE_MCP_HOST=0.0.0.0
|
|
- BRAVE_MCP_LOG_LEVEL=info
|
|
- BRAVE_MCP_ENABLED_TOOLS
|
|
- BRAVE_MCP_DISABLED_TOOLS
|
|
init: true
|
|
ports:
|
|
- 8080:8080
|
|
security_opt:
|
|
- no-new-privileges:true
|