mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: simplify .env
This commit is contained in:
1
.env
1
.env
@@ -59,7 +59,6 @@ LOCK_DSN=flock
|
|||||||
|
|
||||||
MAILER_SENDER_EMAIL=notifications@example.com
|
MAILER_SENDER_EMAIL=notifications@example.com
|
||||||
LIMITED_FEATURES=false
|
LIMITED_FEATURES=false
|
||||||
OAUTH_ENABLED=false
|
|
||||||
OAUTH_CLIENT_ID=
|
OAUTH_CLIENT_ID=
|
||||||
OAUTH_CLIENT_SECRET=
|
OAUTH_CLIENT_SECRET=
|
||||||
OAUTH_AUTHORIZATION_URL=
|
OAUTH_AUTHORIZATION_URL=
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||||
parameters:
|
parameters:
|
||||||
mailer_sender_email: '%env(string:MAILER_SENDER_EMAIL)%'
|
mailer_sender_email: '%env(string:MAILER_SENDER_EMAIL)%'
|
||||||
oauth_enabled: '%env(bool:OAUTH_ENABLED)%'
|
oauth_enabled: '%env(OAUTH_CLIENT_ID)%'
|
||||||
limited_features: '%env(bool:LIMITED_FEATURES)%'
|
limited_features: '%env(bool:LIMITED_FEATURES)%'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|||||||
Reference in New Issue
Block a user