[feat]Config read from environment variables
This commit is contained in:
parent
b7fbba162b
commit
4fcc610b24
6 changed files with 22 additions and 8 deletions
|
|
@ -101,4 +101,9 @@ Osem::Application.configure do
|
|||
|
||||
# Set the secret_key_base from the env, if not set by any other means
|
||||
config.secret_key_base ||= ENV["SECRET_KEY_BASE"]
|
||||
|
||||
# Set bcc email address
|
||||
config.mailbot = {
|
||||
bcc_address: ENV['OSEM_MESSAGE_BCC_ADDRESS']
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue