Skip to content

Commit 9e701ab

Browse files
committed
added additional environment variables
1 parent aeb4475 commit 9e701ab

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

config/application.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,17 @@ class Application < Rails::Application
352352
config.action_mailer.perform_caching = ENV["ACTION_MAILER_PERFORM_CACHING"]
353353
config.active_support.deprecation = ENV["ACTIVE_SUPPORT_DEPRECATION"].to_sym
354354
config.i18n.enforce_available_locales = ENV["I18N_ENFORCE_AVAILABLE_LOCALES"]
355+
config.require_master_key = ENV["REQUIRE_MASTER_KEY"]
356+
config.assets.compile = ENV["ASSETS_COMPILE"]
357+
config.log_tags = ENV["LOG_TAGS"]
358+
config.i18n.fallbacks = ENV["I18N_FALLBACKS"]
359+
config.log_formatter = Logger::Formatter.new
360+
if ENV['RAILS_LOG_TO_STDOUT'] == "true"
361+
logger = ActiveSupport::Logger.new($stdout)
362+
logger.formatter = config.log_formatter
363+
config.logger = ActiveSupport::TaggedLogging.new(logger)
364+
end
365+
config.active_record.dump_schema_after_migration = ENV["ACTIVE_RECORD_DUMP_SCHEMA_AFTER_MIGRATION"]
355366
end
356367

357368
end

0 commit comments

Comments
 (0)