From: Jérôme Benoit <jerome.benoit@piment-noir.org>
Date: Tue, 26 Jun 2018 21:51:36 +0000 (+0200)
Subject: Add symfony environment file.
X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5ebc8eddd12c07ba229a6471455ac28cea814358;p=Project_proches_de_moi-server.git

Add symfony environment file.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
---

diff --git a/.env.dist b/.env.dist
new file mode 100644
index 0000000..812e66e
--- /dev/null
+++ b/.env.dist
@@ -0,0 +1,17 @@
+# This file is a "template" of which env vars need to be defined for your application
+# Copy this file to .env file for development, create environment variables when deploying to production
+# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
+
+###> symfony/framework-bundle ###
+APP_ENV=dev
+APP_SECRET=4c93c568d318d1de3902a70414d41185
+#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
+#TRUSTED_HOSTS=localhost,example.com
+###< symfony/framework-bundle ###
+
+###> doctrine/doctrine-bundle ###
+# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
+# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
+# Configure your db driver and server_version in config/packages/doctrine.yaml
+DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
+###< doctrine/doctrine-bundle ###