-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run docker as bridge mode instead of network mode #140
Comments
Merged and going to deploy @junjizhi, thanks! 🚀 |
@junjizhi I had to undo the change in |
@alexanmtz you can edit your |
@junjizhi Let's try to figure out a way that don't require changes on hosts |
Pointing it to An alternative is never run rails app in dev environment in Docker (which is super slow anyway). make a separate environment for docker and update |
Yeah, I see @junjizhi , it is possible you create a pull request with this changes and I will approve this time? Including the changes on hosts? Which OS you're using? Windows Mac or Linux? |
Currently
docker-compose-dev.yml
starts both container as networkmode, it doesn't work that nice because you have to find the ip for
the container to visit the new application. With bridge mode and port
forwarding, you can visit http://localhost:3000 to visit the app.
Screenshot attached
N/A
How to reproduze the user scenario
The text was updated successfully, but these errors were encountered: