mirror of
https://github.com/tiennm99/serena.git
synced 2026-07-13 17:10:17 +00:00
e8fc6d4fa7
- Introduced `DOCKER.md` with detailed setup instructions and limitations. - Enhanced `compose.yaml` with dynamic port and environment variable support. - Updated `agent.py` to detect Docker environments and disable GUI features. - Modified configuration paths to support both Docker and non-Docker setups. - Marked Docker support as experimental in the documentation.
33 lines
864 B
YAML
33 lines
864 B
YAML
services:
|
|
serena:
|
|
image: serena:latest
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
target: production
|
|
ports:
|
|
- "${SERENA_PORT:-9121}:9121" # MCP server port
|
|
- "${SERENA_DASHBOARD_PORT:-24282}:24282" # Dashboard port (default 0x5EDA = 24282)
|
|
environment:
|
|
- SERENA_DOCKER=1
|
|
command:
|
|
- "uv run --directory . serena-mcp-server --transport sse --port 9121 --host 0.0.0.0"
|
|
|
|
serena-dev:
|
|
image: serena:dev
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
target: development
|
|
tty: true
|
|
stdin_open: true
|
|
environment:
|
|
- SERENA_DOCKER=1
|
|
volumes:
|
|
- .:/workspaces/serena
|
|
ports:
|
|
- "${SERENA_PORT:-9121}:9121" # MCP server port
|
|
- "${SERENA_DASHBOARD_PORT:-24282}:24282" # Dashboard port
|
|
command:
|
|
- "uv run --directory . serena-mcp-server"
|