Chore: Review docker issues (#787)

* Fix docker issues

Addresses: #701

* Add action cable configurations

Co-authored-by: Sony Mathew <ynos1234@gmail.com>
This commit is contained in:
Sojan Jose
2020-04-30 21:32:34 +05:30
committed by GitHub
parent 0b65526b85
commit 0690d3191d
5 changed files with 51 additions and 47 deletions

View File

@@ -40,7 +40,7 @@ Rails.application.configure do
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = ENV.fetch('FORCE_SSL', false)
config.force_ssl = ActiveModel::Type::Boolean.new.cast(ENV.fetch('FORCE_SSL', false))
# customize using the environment variables
config.log_level = ENV.fetch('LOG_LEVEL', 'info').to_sym