diff --git a/config/environments/development.rb b/config/environments/development.rb index 31a396245..e8a9012d0 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -10,6 +10,8 @@ Rails.application.configure do # since you don't have to restart the web server when you make code changes. config.cache_classes = false + config.hosts << 'wobbldev.tarrien.net' + # Do not eager load code on boot. config.eager_load = false diff --git a/config/puma.rb b/config/puma.rb index ac9ccac20..b7a5a62e4 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -9,7 +9,7 @@ threads min_threads_count, max_threads_count if ENV['SOCKET'] bind "unix://#{ENV['SOCKET']}" else - bind "tcp://#{ENV.fetch('BIND', '127.0.0.1')}:#{ENV.fetch('PORT', 3000)}" + bind "tcp://#{ENV.fetch('BIND', '0.0.0.0')}:#{ENV.fetch('PORT', 3000)}" end environment ENV.fetch('RAILS_ENV') { 'development' }