mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
All required env settings are now checkeda and depricated APP_CONFIG
This commit is contained in:
parent
e238760cef
commit
54b5394196
14 changed files with 61 additions and 47 deletions
13
config/initializers/env_required.rb
Normal file
13
config/initializers/env_required.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
required = %w(
|
||||
app_name
|
||||
zonefile_export_dir
|
||||
secret_key_base
|
||||
devise_secret
|
||||
crl_path
|
||||
ca_cert_path
|
||||
ca_key_path
|
||||
ca_key_password
|
||||
webclient_ip
|
||||
)
|
||||
|
||||
Figaro.require_keys(required)
|
Loading…
Add table
Add a link
Reference in a new issue