107 lines
2.0 KiB
YAML
107 lines
2.0 KiB
YAML
project:
|
|
name: localhost
|
|
locale: ko_KR
|
|
time-zone: Asia/Seoul
|
|
|
|
spring:
|
|
devtools:
|
|
livereload:
|
|
enabled: true
|
|
application:
|
|
name: ${project.name}
|
|
config:
|
|
import:
|
|
- classpath:datasource.yml
|
|
mvc:
|
|
servlet:
|
|
path: /
|
|
web:
|
|
resources:
|
|
add-mappings: false
|
|
servlet:
|
|
multipart:
|
|
max-file-size: 5MB
|
|
max-request-size: 5MB
|
|
|
|
mybatis:
|
|
mapper-locations: classpath:mapper/**/*.xml
|
|
|
|
# 상태 모니터링 (재시작, 메모리 등등 관리)
|
|
# localhost:10325/health 로 확인 가능
|
|
management:
|
|
health:
|
|
defaults:
|
|
enabled: false
|
|
endpoints:
|
|
web:
|
|
base-path: /health
|
|
path-mapping:
|
|
health: check
|
|
exposure:
|
|
include: health, prometheus, metrics
|
|
endpoint:
|
|
health:
|
|
show-details: never
|
|
show-components: never
|
|
probes:
|
|
enabled: true
|
|
metrics:
|
|
web:
|
|
client:
|
|
max-uri-tags: 200
|
|
server:
|
|
max-uri-tags: 200
|
|
|
|
api:
|
|
public-holiday:
|
|
key: "MugzCRZ7VmR/LJ3BZ1Ehmmg5yiI0GPFt4evLjNkNuwKoiWbKbe/M9U5pLjAxfSP13OOwHi943aMFM9yiI8OADA=="
|
|
|
|
|
|
server:
|
|
shutdown: graceful
|
|
port: 10325
|
|
tomcat:
|
|
max-http-form-post-size: 20MB
|
|
max-connections: 1024 # 기본값 8192
|
|
threads:
|
|
min-spare: 51
|
|
max: 101 # 기본값 200
|
|
servlet:
|
|
encoding:
|
|
charset: UTF-8
|
|
enabled: true
|
|
force: true
|
|
context-path: /
|
|
session:
|
|
tracking-modes: cookie
|
|
timeout: 300m
|
|
cookie:
|
|
path: /
|
|
# 쿠키 보안 설정
|
|
http-only: false
|
|
secure: true
|
|
same-site: NONE
|
|
ssl:
|
|
key-store: classpath:localhost.p12
|
|
key-store-password: pmgk1234
|
|
key-store-type: PKCS12
|
|
|
|
logging:
|
|
level:
|
|
jdbc:
|
|
sqlonly: off
|
|
sqltiming: info
|
|
resultsettable: off
|
|
audit: off
|
|
resultset: off
|
|
connection: off
|
|
io.company: DEBUG
|
|
io.company.localhost.mapper: off
|
|
|
|
|
|
filePath:
|
|
boardfile: C:\\localhost-back\\upload\\img\\board\\
|
|
profile: C:\\localhost-back\\upload\\img\\profile\\
|
|
|
|
|