2025-07-22 23:00:39 +08:00
|
|
|
spring.application.name=timeline.file
|
2025-12-24 14:17:19 +08:00
|
|
|
spring.datasource.url=jdbc:mysql://59.80.22.43:33306/timeline?serverTimezone=UTC&allowPublicKeyRetrieval=true
|
2025-07-22 23:00:39 +08:00
|
|
|
spring.datasource.username=root
|
2025-12-24 14:17:19 +08:00
|
|
|
spring.datasource.password=WoCloud@9ol7uj
|
2025-07-22 23:00:39 +08:00
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
|
# MinIO ??
|
2025-12-24 14:17:19 +08:00
|
|
|
minio.endpoint=http://59.80.22.43:9000
|
|
|
|
|
minio.accessKey=9ttSGjvQxek2uKKlhpqI
|
|
|
|
|
minio.secretKey=12CaKew53tu94tgyDLoqAwAq32iDuz3SWW0O1hex
|
2025-07-22 23:00:39 +08:00
|
|
|
minio.bucketName=timeline-test
|
|
|
|
|
|
|
|
|
|
# MyBatis ??
|
|
|
|
|
mybatis.mapper-locations=classpath:mapper/*.xml
|
|
|
|
|
mybatis.type-aliases-package=com.timeline.file.entity
|
|
|
|
|
|
2025-08-04 16:51:13 +08:00
|
|
|
mybatis.configuration.mapUnderscoreToCamelCase=true
|
|
|
|
|
|
|
|
|
|
|
2025-07-22 23:00:39 +08:00
|
|
|
server.port=30002
|
|
|
|
|
spring.servlet.multipart.enabled=true
|
|
|
|
|
spring.servlet.multipart.max-file-size=10MB
|
2025-08-04 16:51:13 +08:00
|
|
|
spring.servlet.multipart.max-request-size=10MB
|
2025-12-24 14:17:19 +08:00
|
|
|
|
|
|
|
|
# Ensure UTF-8 encoding for logs and web layer to avoid garbled Chinese output
|
|
|
|
|
logging.charset.console=UTF-8
|
|
|
|
|
logging.charset.file=UTF-8
|
|
|
|
|
server.tomcat.uri-encoding=UTF-8
|
|
|
|
|
server.servlet.encoding.charset=UTF-8
|
|
|
|
|
server.servlet.encoding.enabled=true
|
|
|
|
|
server.servlet.encoding.force=true
|