[api] 파일업로드, tus파일 주소변경, md 파일 변경
This commit is contained in:
@@ -9,15 +9,19 @@ spring:
|
||||
password: ${DB_PASSWORD}
|
||||
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||
hikari:
|
||||
maximum-pool-size: 10 # 줄이기
|
||||
minimum-idle: 1 # 최소로
|
||||
maximum-pool-size: 10
|
||||
minimum-idle: 5
|
||||
connection-timeout: 10000
|
||||
idle-timeout: 30000
|
||||
idle-timeout: 600000
|
||||
data:
|
||||
redis:
|
||||
host: ${REDIS_HOST}
|
||||
port: ${REDIS_PORT}
|
||||
password: ${REDIS_PASSWORD}
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: -1
|
||||
max-request-size: -1
|
||||
|
||||
migration:
|
||||
datasource:
|
||||
@@ -57,7 +61,7 @@ swagger:
|
||||
id: ${SWAGGER_ID}
|
||||
password: ${SWAGGER_PASSWORD}
|
||||
|
||||
file:
|
||||
tus-file:
|
||||
upload:
|
||||
tus-endpoint: https://file-alist.pjt.kr/tus/files/
|
||||
public-base-url: https://file-alist.pjt.kr
|
||||
@@ -67,6 +71,41 @@ file:
|
||||
auth-cache:
|
||||
ttl-seconds: 20
|
||||
|
||||
# types:
|
||||
# notice:
|
||||
# folder: notice 저장폴더
|
||||
# max-size: 20MB 최대 용량
|
||||
# image-only: false
|
||||
# resize:
|
||||
# enabled: true
|
||||
# width: 800 고정넓이
|
||||
# height: 600 고정높이
|
||||
# max-width: 1200 최대 넓이
|
||||
|
||||
file:
|
||||
upload:
|
||||
view:
|
||||
file-domain: https://file-alist.pjt.kr
|
||||
root-path: ${tus-file.upload.final-root}
|
||||
max-size: 10MB
|
||||
allowed-extensions: [jpg, jpeg, png, gif, pdf, hwp, hwpx, doc, docx, xls, xlsx, ppt, pptx, txt, csv, zip]
|
||||
types:
|
||||
profile:
|
||||
folder: profile
|
||||
max-size: 5MB
|
||||
image-only: true
|
||||
resize:
|
||||
enabled: true
|
||||
width: 400
|
||||
height: 400
|
||||
notice:
|
||||
folder: notice
|
||||
max-size: 20MB
|
||||
image-only: false
|
||||
resize:
|
||||
enabled: true
|
||||
max-width: 1200
|
||||
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user