Skip to content

Fix devcontainer port mapping and server binding#64

Merged
calebl merged 2 commits intomainfrom
calebl/devcontainer-appport
Feb 23, 2026
Merged

Fix devcontainer port mapping and server binding#64
calebl merged 2 commits intomainfrom
calebl/devcontainer-appport

Conversation

@calebl
Copy link
Owner

@calebl calebl commented Feb 23, 2026

Summary

  • Fixed devcontainer CLI port forwarding by adding appPort configuration to map container port 8080 to host port 10000
  • Updated Rails server to bind to 0.0.0.0 so requests reach the server through Docker port mapping
  • Updated schema formatting for Rails 8 compatibility

Test plan

  • Rebuild the devcontainer with devcontainer up --workspace-folder .
  • Start the Rails server with devcontainer exec --workspace-folder . ./bin/rails server -p 8080 -b 0.0.0.0
  • Verify app is accessible at localhost:10000

🤖 Generated with Claude Code

calebl and others added 2 commits February 22, 2026 11:34
Fixes devcontainer CLI port forwarding so the app is accessible at
localhost:10000, and binds to 0.0.0.0 so requests reach the server
through the Docker port mapping.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@calebl calebl merged commit aa84e90 into main Feb 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant