Add symfony environment file.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 26 Jun 2018 21:51:36 +0000 (23:51 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 26 Jun 2018 21:51:36 +0000 (23:51 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.env.dist [new file with mode: 0644]

diff --git a/.env.dist b/.env.dist
new file mode 100644 (file)
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 ###