diff --git a/config/environments/development.rb b/config/environments/development.rb index 1d9ba5a8fc..056e659bbe 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -8,6 +8,8 @@ Rails.application.configure do # Make code changes take effect immediately without server restart. config.enable_reloading = true + 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 50f791b044..308337a5b5 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 workers ENV.fetch('WEB_CONCURRENCY') { 2 }.to_i