From af3bc85484d9a24d981ee848b8eef2fbe88206a8 Mon Sep 17 00:00:00 2001 From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr> Date: Wed, 5 Feb 2020 12:34:37 +0100 Subject: [PATCH] MAJ --- tms/.env.template | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tms/.env.template diff --git a/tms/.env.template b/tms/.env.template new file mode 100644 index 00000000..97d38bb4 --- /dev/null +++ b/tms/.env.template @@ -0,0 +1,12 @@ +APP_ENV=dev +APP_SECRET=thisisasecretfordployment +#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 +#TRUSTED_HOSTS='^(localhost|example\.com)$' +###< symfony/framework-bundle ### + +###> doctrine/doctrine-bundle ### +# Format described at https://www.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" +# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8" +# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml +DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7 \ No newline at end of file -- GitLab