parametrize docker image

This commit is contained in:
Kamil Grabowski committed 2025-06-25 14:16:30 +02:00
1 parent 4200625b1d
commit 8e7b2f50ad
3 files changed
+7 -4

No files matched your search

+3 -3
View File
@@ -19,9 +19,9 @@ if (!BRAVE_API_KEY) {
}
const program = new Command()
.option("--transport <stdio|http>", "transport type", "http")
.option("--port <number>", "desired port for HTTP transport", "3000")
.option("--host <string>", "host address to bind to for HTTP transport", "127.0.0.1")
.option("--transport <stdio|http>", "transport type", process.env.BRAVE_MCP_TRANSPORT ?? "stdio")
.option("--port <number>", "desired port for HTTP transport", process.env.BRAVE_MCP_PORT ?? "3000")
.option("--host <string>", "host address to bind to for HTTP transport", process.env.BRAVE_MCP_HOST ?? "0.0.0.0")
.allowUnknownOption()
.parse(process.argv);