From 0e15195080b20913bdc2f4da2b885229d6e45db7 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Fri, 6 Jan 2023 15:41:30 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/config.in?= =?UTF-8?q?i'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/config.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-rest/config.ini b/api-rest/config.ini index 262c40f..09770dd 100644 --- a/api-rest/config.ini +++ b/api-rest/config.ini @@ -1,4 +1,4 @@ [database] -dsn = "mysql:host=localhost;port=8888;dbname=bobParty" -username = "root" -password = "root"; +dsn = "mysql:host="+System.getenv("db_server")+";dbname="+System.getenv("MYSQL_DATABASE"); +username = System.getenv("MYSQL_USER_TOM"); +password = System.getenv("MYSQL_PASSWORD_TOM");