spring: # ============================================== # 메세지 및 다국어 처리 설정 # ============================================== messages: # 다국어 메시지 파일 위치 설정 (쉼표로 구분) basename: messages/message,messages/exception,messages/validation,messages/uri,messages/operation,messages/security-message,messages/operation-log # 메시지 파일 인코딩 방식 encoding: UTF-8 # 메시지 캐시 지속 시간(초) cache-duration: 4 # ============================================== # 데이터베이스 설정 # ============================================== 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: /** # ============================================== # 서버 압축 설정 # ============================================== server: compression: # gzip 압축 활성화 여부 enabled: true # 압축 적용할 MIME 타입 목록 mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript # 압축 적용 최소 응답 크기(바이트) min-response-size: 2048 servlet: session: cookie: name: ADMIN_SESSION # ============================================== # 관리자 관련 설정 # ============================================== app: admin: password: validity: # 패스워드 유효기간(일) period: days: 90 change: notice: # 패스워드 변경 공지 기간(만료일 기준 일수) period: days: 7 auth: fail: # 인증 실패 허용 횟수 permit: 5 session: validity: # 세션 유효기간(초) - 무한정으로 수정,,, period: seconds: -1 maximum: # 최대 세션 갯수 (1일 경우 중복 로그인 불가) num: 10 # ============================================== # 로깅 설정 # ============================================== logging: file: # 로그 파일 저장 경로 (시스템 사용자 홈 디렉토리 하위 logs 폴더) path: ${user.home}/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 # 매퍼 파일 위치 mms: classpath*:mappers/mms/*Mapper.xml # 매퍼 파일 위치 configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # SQL 로깅 구현체 # ============================================== # 암호화 설정 # ============================================== jasypt: encryptor: password: #별도관리 algorithm: #별도관리