Skip to content

Commit 1cc842e

Browse files
committed
added additional environment variables
1 parent bf28f3c commit 1cc842e

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

config/application.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,19 @@ class Application < Rails::Application
324324
config.consider_all_requests_local = ENV["CONSIDER_ALL_REQUESTS_LOCAL"]
325325
config.action_controller.perform_caching = ENV["PERFORM_CACHING"]
326326
config.cache_store = ENV["CACHE_STORE"].to_sym
327-
327+
config.active_storage.service = ENV["ACTIVE_STORAGE_SERVICE"].to_sym
328+
config.action_mailer.raise_delivery_errors = ENV["ACTION_MAILER_RAISE_DELIVERY_ERRORS"]
329+
config.action_mailer.delivery_method = ENV["ACTION_MAILER_DELIVERY_METHOD"].to_sym
330+
config.action_mailer.smtp_settings = { address: ENV["ACTION_MAILER_SMTP_SETTINGS_ADDRESS"], port: ENV["ACTION_MAILER_SMTP_SETTINGS_PORT"] }
331+
config.log_level = ENV["LOG_LEVEL"]
332+
config.active_support.disallowed_deprecation = ENV["ACTIVE_SUPPORT_DISALLOWED_DEPRECATION"].to_sym
333+
config.active_support.disallowed_deprecation_warnings = JSON.parse(ENV["ACTIVE_SUPPORT_DISALLOWED_DEPRECATION_WARNINGS"])
334+
config.active_record.migration_error = ENV["ACTIVE_RECORD_MIGRATION_ERROR"].to_sym
335+
config.active_record.verbose_query_logs = ENV["ACTIVE_RECORD_VERBOSE_QUERY_LOGS"]
336+
config.assets.debug = ENV["ASSETS_DEBUG"]
337+
config.assets.quiet = ENV["ASSETS_QUIET"]
338+
config.file_watcher = ENV["FILE_WATCHER"] != "" ? ENV["FILE_WATCHER"].constantize : nil
339+
config.routes.default_url_options[:host] = JSON.parse(ENV["DMPROADMAP_HOSTS"]).first
328340
end
329341

330342
end

0 commit comments

Comments
 (0)