diff --git a/.gitignore b/.gitignore index ec60e67..02350fb 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ # Ignore master key for decrypting credentials and more. /config/master.key -.env \ No newline at end of file +.env +.env.production \ No newline at end of file diff --git a/config/environments/production.rb b/config/environments/production.rb index 7f3423c..299f774 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -97,4 +97,6 @@ logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) end + + config.hosts << 'localhost:3000' # required when running within a Docker container (Kamal) end