Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Ajout d'une autre application symfony 5.0.99 afin de tester le partage de la variable $_SESSION -->OK

TODO: ajouter un plug-in symfony permettant de charger un utilisateur dans les apps a partir de l'authentification multiple

TODO: lire les documentation officielles provenant des 4 plate-formes tranquillement afin de comprendre commet doit on tester ces type d'auth quitte a créé un sous domaine particulier directement hebergé sur gittea
-->Sécuriser le serveur de dev

Emmanuel ROY authored on 23/11/2019 03:00:32
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,33 @@
1
+# In all environments, the following files are loaded if they exist,
2
+# the latter taking precedence over the former:
3
+#
4
+#  * .env                contains default values for the environment variables needed by the app
5
+#  * .env.local          uncommitted file with local overrides
6
+#  * .env.$APP_ENV       committed environment-specific defaults
7
+#  * .env.$APP_ENV.local uncommitted environment-specific overrides
8
+#
9
+# Real environment variables win over .env files.
10
+#
11
+# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12
+#
13
+# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
14
+# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
15
+
16
+###> symfony/framework-bundle ###
17
+APP_ENV=dev
18
+APP_SECRET=285d92280f430d7ddb1a1e478bc37c1f
19
+#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
20
+#TRUSTED_HOSTS='^localhost|example\.com$'
21
+###< symfony/framework-bundle ###
22
+
23
+###> symfony/mailer ###
24
+# MAILER_DSN=smtp://localhost
25
+###< symfony/mailer ###
26
+
27
+###> doctrine/doctrine-bundle ###
28
+# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
29
+# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
30
+# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11"
31
+# IMPORTANT: You MUST configure your db driver and server version, either here or in config/packages/doctrine.yaml
32
+DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7
33
+###< doctrine/doctrine-bundle ###