스프링 전환 계획 수립 (iss-cb35afc33813)
This commit is contained in:
parent
36d709dc49
commit
829d073c12
1 changed files with 41 additions and 0 deletions
|
|
@ -0,0 +1,41 @@
|
||||||
|
# 스프링 런타임 애플리케이션 설정
|
||||||
|
spring:
|
||||||
|
application:
|
||||||
|
name: spring-runtime
|
||||||
|
datasource:
|
||||||
|
url: jdbc:h2:mem:springruntime;DB_CLOSE_DELAY=-1
|
||||||
|
driver-class-name: org.h2.Driver
|
||||||
|
username: sa
|
||||||
|
password:
|
||||||
|
jpa:
|
||||||
|
hibernate:
|
||||||
|
ddl-auto: update
|
||||||
|
show-sql: true
|
||||||
|
properties:
|
||||||
|
hibernate:
|
||||||
|
format_sql: true
|
||||||
|
dialect: org.hibernate.dialect.H2Dialect
|
||||||
|
h2:
|
||||||
|
console:
|
||||||
|
enabled: true
|
||||||
|
path: /h2-console
|
||||||
|
|
||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
servlet:
|
||||||
|
context-path: /api
|
||||||
|
|
||||||
|
management:
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
include: health,info,metrics
|
||||||
|
endpoint:
|
||||||
|
health:
|
||||||
|
show-details: always
|
||||||
|
|
||||||
|
logging:
|
||||||
|
level:
|
||||||
|
com.runtime: DEBUG
|
||||||
|
org.springframework.web: INFO
|
||||||
|
org.hibernate.SQL: DEBUG
|
||||||
Loading…
Add table
Add a link
Reference in a new issue