Skip to content

Commit 5cd6ab2

Browse files
Merge pull request #11 from SoongSilComputingClub/chore/#10-application-local.yml-db
[Chore/#10] application-local.yaml DB 연결 설정을 MySQL로 변경
2 parents 72cf17c + 12e2e8f commit 5cd6ab2

1 file changed

Lines changed: 23 additions & 9 deletions

File tree

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,34 @@
11
spring:
22
datasource:
3-
url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
4-
driver-class-name: org.h2.Driver
5-
username: sa
6-
password:
3+
url: ${db-url}
4+
driver-class-name: com.mysql.cj.jdbc.Driver
5+
username: ${db-username}
6+
password: ${db-password}
77

88
jpa:
99
hibernate:
1010
ddl-auto: create-drop
11-
database-platform: org.hibernate.dialect.H2Dialect
11+
database-platform: org.hibernate.dialect.MySQLDialect
12+
show-sql: true
1213

13-
h2:
14-
console:
15-
enabled: true
1614

1715
logging:
1816
level:
19-
root: DEBUG
17+
root: INFO
2018
org.hibernate.SQL: DEBUG
19+
20+
#OpenTelemetry : off
21+
otel:
22+
sdk:
23+
disabled: true
24+
management:
25+
otlp:
26+
metrics:
27+
export:
28+
enabled: false
29+
logging:
30+
export:
31+
enabled: false
32+
tracing:
33+
export:
34+
enabled: false

0 commit comments

Comments
 (0)