This commit is contained in:
root 2023-08-10 15:03:08 -04:00
parent 250b062a5e
commit 22eecd2de6
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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' }