[CONFIG] Change way configuration is done to use Symfony's system instead of environment vars

This commit is contained in:
Hugo Sales 2020-07-21 23:50:36 +00:00 committed by Hugo Sales
parent fffa17448f
commit 01b5c4b2f7
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 10 additions and 1 deletions

2
.gitignore vendored
View File

@ -35,6 +35,8 @@ docker/*/*.env
docker-compose.yaml
composer.local.json
social.local.yaml
# V2
config.php
/file

View File

@ -3,6 +3,10 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
imports:
- resource: '../social.yaml'
- resource: '../social.local.yaml'
parameters:
services:

3
social.yaml Normal file
View File

@ -0,0 +1,3 @@
parameters:
remember_me_httponly: true
remember_me_samesite: strict