Expose necessary ports and update host configuration for Dockerized services

This commit is contained in:
Aaron Yordanyan
2025-06-06 17:37:05 +04:00
parent 9026ec5ef2
commit d9d40e89b5
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -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
+1 -1
View File
@@ -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.
"""