mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-03 09:13:49 +00:00
22 lines
806 B
YAML
22 lines
806 B
YAML
services:
|
|
serena:
|
|
image: serena:latest
|
|
# To work with projects, you must mount them into /workspace/ in the container:
|
|
# volumes:
|
|
# - ./my-project:/workspace/my-project
|
|
# - /path/to/another/project:/workspace/another-project
|
|
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"
|
|
# Alternatively add further arguments, e.g. a context
|
|
# - "uv run --directory . serena-mcp-server --transport sse --port 9121 --host 0.0.0.0 --context ide"
|
|
|