[openstreetmap/openstreetmap-website] Add Zed to docs about Dev Containers (PR #6732)

Roman Deev notifications at github.com
Thu Jan 22 00:47:23 UTC 2026


deevroman left a comment (openstreetmap/openstreetmap-website#6732)

Well, I was glad early. There is also a difference between dev containers in VSCode and Zed.

The documentation suggests using `bundle exec rails s` to start the web server, and it starts on `http://127.0.0.1:3000`. At the same time, in `compose.yaml` port forwarding is not configured. It is configured via `devcontainer.json` using `"forwardPorts": [3000, 5432]`. VSCode does some magic, and at the moment when you start the server insists on forwarding the port.

That is, for Zed, I had to add it to `compose.yaml`
```yaml
ports:
      - "3000:3000"
```
And start the server with the `-b '0.0.0.0'` flag

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6732#issuecomment-3781900102
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6732/c3781900102 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260121/a35deec6/attachment.htm>


More information about the rails-dev mailing list