From b9706a4a64b16315229f8f0b2fd23c69c8bc20b8 Mon Sep 17 00:00:00 2001 From: Mirna Gama Date: Mon, 29 Jan 2024 17:54:20 -0300 Subject: [PATCH] [R10] Add spring datasource credentials variables --- src/main/resources/application.properties | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 08abb60..24a2b5b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,2 +1,5 @@ +spring.datasource.url=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DATABASE} +spring.datasource.username=${MYSQL_USER} +spring.datasource.password=${MYSQL_PASSWORD} +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver api.security.token.secret=${JWT_SECRET} -