107 lines
3.1 KiB
YAML
107 lines
3.1 KiB
YAML
spring:
|
|
# ==============================================
|
|
# 메세지 및 다국어 처리를 위한 설정
|
|
# ==============================================
|
|
messages:
|
|
basename: messages/exception,messages/validation,messages/uri,messages/operation
|
|
encoding: UTF-8
|
|
# gzip compression 설정
|
|
compression:
|
|
enabled: true
|
|
mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript
|
|
min-response-size: 2048
|
|
# ==============================================
|
|
# 데이터베이스 설정
|
|
# ==============================================
|
|
datasource:
|
|
hikari:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 5
|
|
idle-timeout: 120000
|
|
max-lifetime: 900000
|
|
connection-timeout: 5000
|
|
leak-detection-threshold: 30000
|
|
# ==============================================
|
|
# 정적 리소스 설정
|
|
# ==============================================
|
|
web:
|
|
resources:
|
|
# 정적 리소스 캐싱 기간(초) - 1년 (31536000초)
|
|
cache:
|
|
period: 31536000
|
|
# 리소스 버저닝 설정
|
|
chain:
|
|
strategy:
|
|
content:
|
|
# 콘텐츠 기반 버저닝 활성화
|
|
enabled: true
|
|
# 버저닝 적용 경로
|
|
paths: /**
|
|
|
|
# ==============================================
|
|
# 사용자 관련 설정
|
|
# ==============================================
|
|
app:
|
|
front:
|
|
password:
|
|
validity:
|
|
period:
|
|
days: 90 # 패스워드 유효기간(일)
|
|
change:
|
|
notice:
|
|
period:
|
|
days: 7 # 패스워드 변경 공지 기간(만료일 기준 일수)
|
|
auth:
|
|
fail:
|
|
permit: 5 # 인증 실패 허용 횟수
|
|
session:
|
|
validity:
|
|
period:
|
|
seconds: 3600 # 세션 유효기간(초)
|
|
maximum:
|
|
num: 10 # 세션 최대 갯수 (1인 경우 중복 로그인 불가)
|
|
|
|
# ==============================================
|
|
# 로깅 설정
|
|
# ==============================================
|
|
logging:
|
|
file:
|
|
path: ${user.home}/logs # 로그 파일 저장 경로 (사용자 홈 디렉토리 하위 logs 폴더)
|
|
level:
|
|
org:
|
|
hibernate:
|
|
orm:
|
|
jdbc:
|
|
# Hibernate SQL 파라미터 바인딩 값 로깅 레벨
|
|
bind: trace
|
|
# Spring Framework 코어 모듈 로깅 레벨 (INFO 레벨로 설정)
|
|
springframework: INFO
|
|
app:
|
|
module: INFO # 애플리케이션 기본 패키지 로깅 레벨 (패키지 경로 변경 필요시 수정)
|
|
|
|
# ==============================================
|
|
# MyBatis 설정
|
|
# ==============================================
|
|
mybatis:
|
|
mapper-locations:
|
|
kri: classpath*:mappers/**/*Mapper.xml # 매퍼 파일 위치
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # SQL 로깅 구현체
|
|
|
|
# ==============================================
|
|
# 세션 설정
|
|
# ==============================================
|
|
server:
|
|
servlet:
|
|
session:
|
|
cookie:
|
|
name: FRONT_SESSION
|
|
|
|
# ==============================================
|
|
# 암호화 설정
|
|
# ==============================================
|
|
jasypt:
|
|
encryptor:
|
|
password: #별도관리
|
|
algorithm: #별도관리
|