최초 커밋!
This commit is contained in:
102
admin/src/main/resources/application.yml
Normal file
102
admin/src/main/resources/application.yml
Normal file
@@ -0,0 +1,102 @@
|
||||
# ==============================================
|
||||
# 메세지 및 다국어 처리 설정
|
||||
# ==============================================
|
||||
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
|
||||
# ==============================================
|
||||
# 정적 리소스 설정
|
||||
# ==============================================
|
||||
web:
|
||||
resources:
|
||||
# 정적 리소스 캐싱 기간(초) - 1년 (31536000초)
|
||||
cache:
|
||||
period: 31536000
|
||||
# 리소스 버저닝 설정
|
||||
chain:
|
||||
strategy:
|
||||
content:
|
||||
# 콘텐츠 기반 버저닝 활성화
|
||||
enabled: true
|
||||
# 버저닝 적용 경로
|
||||
paths: /**
|
||||
# ==============================================
|
||||
# 타임리프 설정
|
||||
# ==============================================
|
||||
thymeleaf: # 타임리프 템플릿 캐시 비활성화 (개발시 false 권장)
|
||||
cache: false
|
||||
|
||||
# ==============================================
|
||||
# 서버 압축 설정
|
||||
# ==============================================
|
||||
server:
|
||||
compression:
|
||||
# gzip 압축 활성화 여부
|
||||
enabled: true
|
||||
# 압축 적용할 MIME 타입 목록
|
||||
mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript
|
||||
# 압축 적용 최소 응답 크기(바이트)
|
||||
min-response-size: 2048
|
||||
|
||||
# ==============================================
|
||||
# 관리자 관련 설정
|
||||
# ==============================================
|
||||
app:
|
||||
admin:
|
||||
password:
|
||||
validity:
|
||||
# 패스워드 유효기간(일)
|
||||
period:
|
||||
days: 90
|
||||
change:
|
||||
notice:
|
||||
# 패스워드 변경 공지 기간(만료일 기준 일수)
|
||||
period:
|
||||
days: 7
|
||||
auth:
|
||||
fail:
|
||||
# 인증 실패 허용 횟수
|
||||
permit: 5
|
||||
session:
|
||||
validity:
|
||||
# 세션 유효기간(초) - 1시간 (3600초)
|
||||
period:
|
||||
seconds: 3600
|
||||
maximum:
|
||||
# 최대 세션 갯수 (1일 경우 중복 로그인 불가)
|
||||
num: 1
|
||||
|
||||
# ==============================================
|
||||
# 로깅 설정
|
||||
# ==============================================
|
||||
logging:
|
||||
level:
|
||||
org:
|
||||
hibernate:
|
||||
orm:
|
||||
jdbc:
|
||||
# Hibernate SQL 파라미터 바인딩 값 로깅 레벨
|
||||
bind: trace
|
||||
app.module: DEBUG
|
||||
org.springframework: INFO
|
||||
org.apache.ibatis: TRACE
|
||||
org.mybatis.spring: TRACE
|
||||
# Spring Bean 등록 과정도 확인
|
||||
org.springframework.beans.factory.support.DefaultListableBeanFactory: DEBUG
|
||||
file:
|
||||
# 로그 파일 저장 경로
|
||||
path: ${user.home}/logs
|
||||
|
||||
|
||||
# ==============================================
|
||||
# MyBatis 설정
|
||||
# ==============================================
|
||||
mybatis:
|
||||
mapper-locations: classpath*:mappers/**/*Mapper.xml # 매퍼 파일 위치
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # SQL 로깅 구현체
|
||||
Reference in New Issue
Block a user