mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
[edit] environment variables to use them in yaml config file
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
parameters:
|
||||
data_directory: '%kernel.project_dir%/data/'
|
||||
ribs_cron_ip_external:
|
||||
ribs_cron_ip_internal: "127.0.0.1"
|
||||
ribs_cron_ip_external: '%env(IP_CRON_EXTERNAL)%'
|
||||
ribs_cron_ip_internal: '%env(IP_CRON_INTERNAL)%'
|
||||
ribs_cron:
|
||||
# testCronCall: "* * * * *"
|
||||
# testCronCall: '* * * * *'
|
||||
|
||||
@@ -4,5 +4,9 @@
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"IP_CRON_EXTERNAL": "",
|
||||
"IP_CRON_INTERNAL": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user