diff --git a/.gitignore b/.gitignore index 75bb667202..db91658d32 100644 --- a/.gitignore +++ b/.gitignore @@ -97,3 +97,5 @@ yarn-error.log* # Ruby bundle and gems /vendor + +/config/master.key diff --git a/config/environments/production.rb b/config/environments/production.rb index 05f46dad87..de8fbf9168 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -95,4 +95,6 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false + + config.credentials.content_path = ENV['LOOMIO_ENCRYPTED_CREDENTIALS_PATH'] end