Extract encryption key into the configuration param

This commit is contained in:
ErickSkrauch
2019-12-04 13:24:30 +03:00
parent 72cbf16c97
commit a9a56c9e1d
6 changed files with 18 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ return [
'@console' => '@root/console',
],
'params' => [
'fromEmail' => 'ely@ely.by',
'fromEmail' => 'account@ely.by',
'supportEmail' => 'support@ely.by',
],
'container' => [
@@ -91,12 +91,9 @@ return [
],
'emailsRenderer' => [
'class' => common\components\EmailsRenderer\Component::class,
'serviceUrl' => getenv('EMAILS_RENDERER_HOST'),
'serviceUrl' => getenv('EMAILS_RENDERER_HOST') ?: 'http://emails-renderer:3000',
'basePath' => '/images/emails',
],
'oauth' => [
'class' => api\components\OAuth2\Component::class,
],
'authManager' => [
'class' => \api\rbac\Manager::class,
'itemFile' => '@api/rbac/.generated/items.php',