mirror of
https://github.com/tiennm99/serena.git
synced 2026-08-20 00:23:54 +00:00
Expose necessary ports and update host configuration for Dockerized services
This commit is contained in:
+5
-2
@@ -5,8 +5,11 @@ services:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
target: production
|
||||
tty: true
|
||||
stdin_open: true
|
||||
ports:
|
||||
- "9121:9121"
|
||||
- "24282:24282"
|
||||
command:
|
||||
- "uv run --directory . serena-mcp-server --transport sse --port 9121 --host 0.0.0.0"
|
||||
|
||||
serena-dev:
|
||||
image: serena:dev
|
||||
|
||||
@@ -109,7 +109,7 @@ class SerenaDashboardAPI:
|
||||
|
||||
raise RuntimeError(f"No free ports found starting from {start_port}")
|
||||
|
||||
def run(self, host: str = "127.0.0.1", port: int = 0x5EDA) -> int:
|
||||
def run(self, host: str = "0.0.0.0", port: int = 0x5EDA) -> int:
|
||||
"""
|
||||
Runs the dashboard on the given host and port and returns the port number.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user