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