From 0f03821a5fe8ca366bcaa1b6da70a112af794520 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 6 Jan 2024 14:07:54 +0200 Subject: [PATCH] init env settings --- .env | 8 ++++++++ config/services.yaml | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.env b/.env index 0eee79a..c1b2e88 100644 --- a/.env +++ b/.env @@ -39,3 +39,11 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 ###> symfony/mailer ### # MAILER_DSN=null://null ###< symfony/mailer ### + +# HLState + +# Application version, used for API and media cache +APP_VERSION=1.0.0 + +# Application name +APP_NAME=HLState diff --git a/config/services.yaml b/config/services.yaml index 2d6a76f..afb739c 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -4,6 +4,8 @@ # Put parameters here that don't need to change on each machine where the app is deployed # https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration parameters: + app.version: '%env(APP_VERSION)%' + app.name: '%env(APP_NAME)%' services: # default configuration for services in *this* file