Adjust Docker compose template (compose.yaml): Expose ports to host only

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-07-18 13:01:13 +02:00
1 parent d88ebafee7
commit 96e95c0b5d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -10,8 +10,8 @@ services:
dockerfile: Dockerfile
target: production
ports:
- "${SERENA_PORT:-9121}:9121" # MCP server port
- "${SERENA_DASHBOARD_PORT:-24282}:24282" # Dashboard port (default 0x5EDA = 24282)
- "127.0.0.1:${SERENA_PORT:-9121}:9121"
- "127.0.0.1:${SERENA_DASHBOARD_PORT:-24282}:24282"
environment:
- SERENA_DOCKER=1
command:
+1 -1
View File
@@ -241,7 +241,7 @@ docker run --rm -i --network host -v /path/to/your/projects:/workspaces/projects
This command mounts your projects into the container under `/workspaces/projects`, so when working with projects,
you need to refer to them using the respective path (e.g. `/workspaces/projects/my-project`).
Alternatively, you may use Docker compose with the `compose.yml` file provided in the repository.
Alternatively, you may use Docker compose. Adjust the file `compose.yml`, which is provided in the repository, according to your needs.
See our [advanced Docker usage](https://github.com/oraios/serena/blob/main/DOCKER.md) documentation for more detailed instructions, configuration options, and limitations.
:::{note}