outsource env vars to host vars

This commit is contained in:
Constantin Simonis 2024-12-06 14:09:15 +01:00
parent 12730b8bcd
commit e0f5fe2524
Signed by: csimonis
GPG Key ID: 758DD9C506603183

4
.env
View File

@ -15,8 +15,8 @@
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ### ###> symfony/framework-bundle ###
APP_ENV=dev APP_ENV=${APP_ENV:-dev}
APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27 APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27
###< symfony/framework-bundle ### ###< symfony/framework-bundle ###
DATA_DIR='/var/www/html/data' DATA_DIR=${DATA_DIR:-/var/www/html/data}