From 2dd57432f18c027d7b68db55cae7405a0b58dd6d Mon Sep 17 00:00:00 2001 From: Eunjin Kim Date: Tue, 6 Feb 2024 05:05:37 +0900 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20CI/CD:=20application.?= =?UTF-8?q?yml=20db=20=EC=A0=95=EB=B3=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 596edd62..08c6fe6a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -6,10 +6,10 @@ spring: prefix: classpath:/templates/ suffix: .html datasource: - url: jdbc:h2:tcp://localhost/~/thegoods - username: sa - password: - driver-class-name: org.h2.Driver + url: ${DB_URL} + username: ${DB_USERNAME} + password: ${DB_PASSWORD} + driver-class-name: com.mysql.cj.jdbc.Driver mail: host: smtp.gmail.com port: 587 @@ -32,6 +32,7 @@ spring: hibernate: ddl-auto: update properties: + dialect: org.hibernate.dialect.MySQL8InnoDBDialect hibernate: # show_sql: true format_sql: true