From ebc27a0923de6f7b779106b18a708b68280f8c4e Mon Sep 17 00:00:00 2001 From: Vincent Guillet Date: Fri, 24 Apr 2026 18:02:30 +0200 Subject: [PATCH] Configure application properties for database connection and JWT secret --- server/app/src/main/resources/application.properties | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/server/app/src/main/resources/application.properties b/server/app/src/main/resources/application.properties index 1e6ca6c..ed83728 100644 --- a/server/app/src/main/resources/application.properties +++ b/server/app/src/main/resources/application.properties @@ -1 +1,12 @@ spring.application.name=app + +spring.config.import=optional:file:.env[.properties] + +spring.datasource.url=${MYSQL_URL} +spring.datasource.username=${MYSQL_USER} +spring.datasource.password=${MYSQL_PASS} + +spring.jpa.hibernate.ddl-auto=update +spring.jpa.show-sql=true + +jwt.secret=5c6fbfca8ab9a88c4c6308cc8fd7f4f57543cb072e4db605a718d65d3fa16509