init env settings

This commit is contained in:
ghost 2024-01-06 14:07:54 +02:00
parent d007a8041d
commit 0f03821a5f
2 changed files with 10 additions and 0 deletions

8
.env
View File

@ -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

View File

@ -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