From e0f5fe2524c9eb12fa83e598cfe9469aa109f348 Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Fri, 6 Dec 2024 14:09:15 +0100 Subject: [PATCH] outsource env vars to host vars --- .env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 954023e..36d61d9 100644 --- a/.env +++ b/.env @@ -15,8 +15,8 @@ # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration ###> symfony/framework-bundle ### -APP_ENV=dev +APP_ENV=${APP_ENV:-dev} APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27 ###< symfony/framework-bundle ### -DATA_DIR='/var/www/html/data' +DATA_DIR=${DATA_DIR:-/var/www/html/data}