Files
gwcf-review-back/src/main/resources/application.yaml

79 lines
1.9 KiB
YAML

server:
port: 6105
forward-headers-strategy: framework
tomcat:
max-http-form-post-size: 100MB
max-swallow-size: -1
spring:
application:
name: gwcf-review-back
jpa:
properties:
hibernate:
jdbc:
batch_size: 1000
order_inserts: true
order_updates: true
profiles:
# 아무 설정 없을 때 기본으로 쓸 프로파일
default: local
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
logging:
file:
path: ./logs
kon:
datasource:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://1.235.195.8:20022;databaseName=KON;encrypt=false;loginTimeout=5
username: kon
password: kon#51304
mybatis:
mapper-locations: classpath*:mybatis/mapper/kon/*.xml
type-aliases-package: com.kri.gwcf.review.back.dto.kon
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
kri:
security:
enabled: true
public-paths: # 인증 없이 열어둘 URL
- /v3/api-docs/**
- /swagger-ui.html
- /swagger-ui/**
- /ping
- /api/v1/auth/login
- /api/v1/admin-cache/**
- /api/v1/assign/confirm/*
- /api/v1/performance/list/compact
- /api/v1/review/end/**
swagger:
enabled: true
allowed-ips:
- 211.254.145.130
title: "GWCF Review"
description: "강원문화예술지원사업 모니터링 및 종합평가 서버스"
version: "v1.0.0"
base-package: "com.kri.gwcf.review.back"
file:
visit-base-dir: ./upload-file/visit
review-base-dir: ./upload-file/review
pdf-converter-command: soffice
web:
enabled: true # 공통 Web 구성 사용 여부 (기본 true)
redis:
enabled: false # RedisQueueHelper 사용 시 true
scheduling:
enabled: false # @Scheduled 사용 시 true