Last active
February 3, 2016 22:08
-
-
Save groteck/90b9817706b78d41aa38 to your computer and use it in GitHub Desktop.
Access to rails in docker from outside
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rails/commands/server' | |
module Rails | |
class Server | |
def default_options | |
super.merge(Host: '0.0.0.0', Port: 3000) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment