Reduced number of env vars

This commit is contained in:
Gildas Quéméner
2018-06-26 14:22:31 +01:00
parent 47394ca8b1
commit 245e200a32
2 changed files with 2 additions and 3 deletions
@@ -14,7 +14,7 @@ services:
app.event_store.pdo_connection.mysql:
class: \PDO
arguments:
- 'mysql:host=%env(MYSQL_HOST)%;dbname=%env(MYSQL_DBNAME)%'
- '%env(MYSQL_DSN)%'
- '%env(MYSQL_USER)%'
- '%env(MYSQL_PASSWORD)%'
+1 -2
View File
@@ -6,8 +6,7 @@
"scripts/": "%CONFIG_DIR%/scripts/"
},
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_DBNAME": "event_streams",
"MYSQL_DSN": "mysql:host=127.0.0.1;dbname=event_streams",
"MYSQL_USER": "user",
"MYSQL_PASSWORD": "password"
}