diff --git a/spring-runtime/spring-runtime-starter/src/main/resources/application.yml b/spring-runtime/spring-runtime-starter/src/main/resources/application.yml new file mode 100644 index 0000000..f4427f3 --- /dev/null +++ b/spring-runtime/spring-runtime-starter/src/main/resources/application.yml @@ -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