mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 02:14:49 +00:00
Expose necessary ports and update host configuration for Dockerized services
This commit is contained in:
1 parent
9026ec5ef2
commit
d9d40e89b5
2 files changed
+6
-3
No files matched your search
+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