Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix: application properties 통일
Browse files Browse the repository at this point in the history
  • Loading branch information
goldentrash committed Jan 22, 2024
1 parent ed8533f commit 2ff3753
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQL8Dialect
database-platform: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: create
properties:
Expand All @@ -11,9 +11,9 @@ spring:
show-sql: false
open-in-view: false
datasource:
password: ${DB_PASSWORD}
username: ${DB_USER}
url: ${DB_URL}
username: ${DB_USER}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

local:
Expand Down
22 changes: 13 additions & 9 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
spring:
datasource:
url: jdbc:tc:mysql:8:///plantory?TC_REUSABLE=true
username: plantory
password: plantory1234
driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver
p6spy:
enable-logging: true
jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: create
open-in-view: false
show-sql: true
properties:
hibernate:
format_sql: true
show-sql: true
open-in-view: false
datasource:
url: jdbc:tc:mysql:8:///plantory?TC_REUSABLE=true
username: plantory
password: plantory1234
driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver

local:
image:
Expand All @@ -22,3 +22,7 @@ local:
companionPlant:
image:
directory: photos/companionPlant

fcm:
key:
path: src/main/resources/config/google-services.json

0 comments on commit 2ff3753

Please sign in to comment.