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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to