Browse Source

init env settings

main
ghost 9 months ago
parent
commit
0f03821a5f
  1. 8
      .env
  2. 2
      config/services.yaml

8
.env

@ -39,3 +39,11 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 @@ -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

2
config/services.yaml

@ -4,6 +4,8 @@ @@ -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

Loading…
Cancel
Save