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.
147 lines
4.6 KiB
YAML
147 lines
4.6 KiB
YAML
# Local profile
|
|
spring:
|
|
config:
|
|
activate:
|
|
on-profile: local
|
|
devtools:
|
|
livereload:
|
|
enabled: true
|
|
restart:
|
|
enabled: true
|
|
datasource:
|
|
driver-class-name: org.mariadb.jdbc.Driver
|
|
url: jdbc:mariadb://211.119.124.122:53306/demon_test_cp?useUnicode=true&characterEncoding=utf8
|
|
username: root
|
|
password: xit5811807
|
|
hikari:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 5
|
|
connection-timeout: 30000
|
|
idle-timeout: 600000
|
|
max-lifetime: 1800000
|
|
validation-timeout: 60000 #60초
|
|
auto-commit: false
|
|
#hikari.connection-test-query 는 JDBC 4.0 이상을 사용하면 설정하지 않는 것을 권장. (공식문서)
|
|
#connection-test-query: select 1
|
|
|
|
# ep:
|
|
# driver-class-name: org.mariadb.jdbc.Driver
|
|
# url: jdbc:mariadb://211.119.124.122:53306/demon_test_ep?useUnicode=true&characterEncoding=utf8
|
|
# username: root
|
|
# password: xit5811807
|
|
# hikari:
|
|
# maximum-pool-size: 10
|
|
# minimum-idle: 5
|
|
# connection-timeout: 30000
|
|
# idle-timeout: 600000
|
|
# max-lifetime: 1800000
|
|
# validation-timeout: 60000 #60초
|
|
# #hikari.connection-test-query 는 JDBC 4.0 이상을 사용하면 설정하지 않는 것을 권장. (공식문서)
|
|
# #connection-test-query: select 1
|
|
jpa:
|
|
show-sql: false
|
|
hibernate:
|
|
ddl-auto: none
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
dialect: org.hibernate.dialect.MySQLDialect
|
|
mail:
|
|
host: smtp.gmail.com
|
|
port: 587
|
|
username: test@test.com
|
|
password: testpassword
|
|
properties:
|
|
mail:
|
|
smtp:
|
|
auth: true
|
|
starttls:
|
|
enable: true
|
|
debug: true
|
|
|
|
# Server configuration
|
|
server:
|
|
servlet:
|
|
session:
|
|
timeout: 60m # 세션 타임아웃을 60분으로 증가
|
|
cookie:
|
|
http-only: true
|
|
secure: true # 개발환경에서는 false, 운영환경에서는 true
|
|
same-site: lax
|
|
tracking-modes: cookie
|
|
|
|
#logback
|
|
logging:
|
|
config: classpath:logback-spring.xml
|
|
file:
|
|
path: ../logs
|
|
name: clean-parking
|
|
logback:
|
|
rollingpolicy:
|
|
max-file-size: 10MB
|
|
max-history: 30
|
|
level:
|
|
org.springframework: INFO
|
|
go.kr.project: DEBUG
|
|
egovframework: DEBUG
|
|
org.mybatis: INFO
|
|
|
|
# File upload configuration
|
|
file:
|
|
upload:
|
|
path: d:/data/xit-framework/file
|
|
max-size: 10 # 단일 파일 최대 크기 (MB)
|
|
max-total-size: 50 # 총 파일 최대 크기 (MB)
|
|
max-files: 10 # 최대 파일 개수
|
|
allowed-extensions: hwp,jpg,jpeg,png,gif,pdf,doc,docx,xls,xlsx,ppt,pptx,txt,zip
|
|
real-file-delete: true # 실제 파일 삭제 여부
|
|
sub-dirs:
|
|
bbs-notice: bbs/notice # 공지사항 sample 파일 저장 경로
|
|
bbs-post: bbs/post # 게시판 파일 저장 경로
|
|
html-editor: common/html_editor # HTML 에디터 파일 저장 경로
|
|
|
|
# Batch file processing configuration
|
|
#batch:
|
|
# file:
|
|
# processing:
|
|
# source-dir: d:/data/xit-framework/batch/source # 읽을 대상 파일이 있는 디렉토리
|
|
# complete-dir: d:/data/xit-framework/batch/complete # 파일 처리 완료 후 이동될 디렉토리
|
|
# error-dir: d:/data/xit-framework/batch/error # 파일 처리 에러 시 이동될 디렉토리
|
|
# delimiter: "|" # 파일 컬럼 구분자
|
|
# encoding: UTF-8 # 파일 인코딩
|
|
# create-date-subdir: true # yyyyMMdd 하위 디렉토리 생성 여부
|
|
# retry:
|
|
# max-retry-count: 3 # 최대 재시도 횟수
|
|
# retry-interval-hours: 1 # 재시도 간격 (시간)
|
|
# enabled: true # 에러 파일 재처리 기능 활성화 여부
|
|
# zip:
|
|
# source-dir: d:/data/xit-framework/batch/zip/source # ZIP 파일 소스 디렉토리
|
|
# extract-dir: d:/data/xit-framework/batch/zip/extract # ZIP 파일 압축 해제 디렉토리 (하위 :/yyyy/zip file name/)
|
|
# archive-dir: d:/data/xit-framework/batch/zip/archive # ZIP 파일 아카이브 디렉토리
|
|
# error-archive-dir: d:/data/xit-framework/batch/zip/error-archive # ZIP 파일 에러 아카이브 디렉토리
|
|
# error-extract-dir: d:/data/xit-framework/batch/zip/error-extract # ZIP 파일 에러 압축해제파일 디렉토리 (하위 :/yyyy/zip file name/)
|
|
# create-date-subdir-pattern: yyyy # yyyy, yyyyMM, yyyyMMdd 하위 디렉토리 구조
|
|
|
|
|
|
car-info :
|
|
protocol: http://
|
|
domain: 211.119.124.122
|
|
port: :8440
|
|
path:
|
|
basic: /api/test/carInfo/basic
|
|
|
|
cover-info :
|
|
protocol: http://
|
|
domain: 211.119.124.122
|
|
port: :8440
|
|
path: /api/test/coverInfo
|
|
|
|
|
|
texelse :
|
|
protocol: http://
|
|
domain: 211.119.124.122
|
|
port: :8440
|
|
path:
|
|
lavy: /api/test/preLavy
|
|
match: /api/test/match
|
|
sunap: /api/test/sunap |