From 03579b8241fbe77dad761a61c3bad9e91881c281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=9D=80=EC=B0=AC?= Date: Tue, 7 Jan 2025 21:34:40 +0900 Subject: [PATCH] feat : (#14) Add environment variable placeholders to application.yaml --- src/main/resources/application.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 0410b1c..bb709c1 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -1,6 +1,6 @@ spring: datasource: - url: jdbc:mysql://${DB_HOST:localhost}:3306/${DB_NAME} + url: jdbc:mysql://${DB_HOST}/${DB_NAME} username: ${DB_USERNAME} password: ${DB_PASSWORD} driver-class-name: com.mysql.cj.jdbc.Driver