set-up the role
This commit is contained in:
9
templates/config/prod/lexik_jwt_authentication.yaml
Normal file
9
templates/config/prod/lexik_jwt_authentication.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
lexik_jwt_authentication:
|
||||
# in production, the secret must be located in an environment variable
|
||||
# for converting the file to a raw variable, use this command:
|
||||
#
|
||||
# cat path/to/private_or_public.pem | base64 -w0
|
||||
#
|
||||
# then copy past the printed string into the dedicated environment variable
|
||||
secret_key: '%env(base64:resolve:JWT_SECRET_KEY)%'
|
||||
public_key: '%env(base64:resolve:JWT_PUBLIC_KEY)%'
|
15
templates/config/prod/messenger.yaml
Normal file
15
templates/config/prod/messenger.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
framework:
|
||||
messenger:
|
||||
transports:
|
||||
async:
|
||||
dsn: '%env(RABBITMQ_URL)%/async'
|
||||
options:
|
||||
exchange:
|
||||
name: async
|
||||
type: fanout
|
||||
queues:
|
||||
async: ~
|
||||
auto_setup: true
|
||||
priority: '%env(RABBITMQ_URL)%/priority'
|
||||
failed: 'doctrine://default?queue_name=failed'
|
||||
sync: 'sync://'
|
19
templates/config/prod/monolog.yaml
Normal file
19
templates/config/prod/monolog.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
parameters:
|
||||
log_prefix: {{ item.chill_environment }}
|
||||
monolog:
|
||||
handlers:
|
||||
default_log:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/%log_prefix%-privacy.log"
|
||||
level: info
|
||||
channels: ['chill']
|
||||
chill_log:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/%log_prefix%-default.log"
|
||||
level: info
|
||||
channels: ['!event', '!doctrine', '!console', '!chill']
|
||||
console:
|
||||
type: console
|
||||
process_psr_3_messages: false
|
||||
channels: ['!event', '!doctrine', '!console']
|
||||
bubble: false
|
Reference in New Issue
Block a user