You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.9 KiB
YAML
92 lines
1.9 KiB
YAML
#boot2.4 이상
|
|
#2022-11-03 jangwonseok
|
|
#java -jar {ARG} --spring.profiles.active=dev
|
|
#boot2.4 이하
|
|
#java -jar -Dspring.profiles.active=dev {ARG}
|
|
|
|
|
|
Server:
|
|
shutdown: graceful
|
|
servlet:
|
|
# context-path: /BotMain_VM
|
|
context-path:
|
|
# session:
|
|
# timeout: 60m
|
|
|
|
error:
|
|
path: /error
|
|
include-exception: false
|
|
# include-stacktrace: never
|
|
include-stacktrace: always
|
|
whitelabel:
|
|
enabled: false
|
|
session:
|
|
tracking-modes: cookie
|
|
# path: #에러발생시 전달할 경로
|
|
|
|
|
|
spring:
|
|
profiles:
|
|
default: local
|
|
|
|
# 공통부분 작성
|
|
main:
|
|
allow-bean-definition-overriding: true
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ant_path_matcher
|
|
application:
|
|
name: botmain
|
|
jpa:
|
|
properties:
|
|
# hibernate: #오라클 DB테스트하는중 공통에서 임시제외
|
|
# dialect: org.hibernate.dialect.MySQL57Dialect
|
|
# storage_engine: innodb
|
|
format_sql: true
|
|
default_batch_fetch_size: 1000
|
|
show_sql: true
|
|
format_sql: true
|
|
use_sql_comments: true
|
|
jackson:
|
|
serialization:
|
|
fail-on-empty-beans: false
|
|
|
|
autoconfigure:
|
|
# exclude: org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
|
|
devtools:
|
|
livereload:
|
|
enabled: true
|
|
servlet:
|
|
multipart:
|
|
enabled: true
|
|
max-file-size: 10MB
|
|
max-request-size: 50MB
|
|
logging:
|
|
# level:
|
|
# org:
|
|
# hibernate:
|
|
# SQL: debug
|
|
# type: trace
|
|
## log4j ??????? xml ??? ????? spring ????? ???.
|
|
jdbc:
|
|
sqlonly: off
|
|
sqltiming: debug
|
|
audit: off
|
|
resultset: off
|
|
resultsettable: debug
|
|
connection: off
|
|
|
|
|
|
# config server actuator
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: refresh, health, beans, info
|
|
|
|
#??????? ??? yml?? ??
|
|
#mybatis:
|
|
# type-aliases-package: egovframework/example/mapper/aliase
|
|
# mapper-locations: sqlmap/mappers/mysql/icomsys/**/*.xml
|
|
|