diff --git a/compose.yaml b/compose.yaml index 5150442..17348bb 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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 diff --git a/src/serena/dashboard.py b/src/serena/dashboard.py index 4b0419a..622bef1 100644 --- a/src/serena/dashboard.py +++ b/src/serena/dashboard.py @@ -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. """