2025-03-07 17:51:14 +08:00
|
|
|
# spring framework
|
2024-12-13 15:27:59 +08:00
|
|
|
spring.application.name=electromagnetic-data
|
2025-04-03 14:39:40 +08:00
|
|
|
spring.jackson.time-zone=GMT+8
|
|
|
|
|
spring.servlet.multipart.max-file-size=500MB
|
|
|
|
|
spring.servlet.multipart.max-request-size=500MB
|
|
|
|
|
spring.mvc.async.request-timeout=3600000
|
|
|
|
|
#mysql
|
2025-06-18 14:54:07 +08:00
|
|
|
spring.datasource.url=jdbc:mariadb://127.0.0.1:12345/em_data_dev?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&sslModel=true&serverTimezone=GMT%2B8&allowMultiQueries=true&rewriteBatchedStatements=true
|
2025-04-27 10:05:32 +08:00
|
|
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
2025-06-18 14:54:07 +08:00
|
|
|
spring.datasource.username=root
|
2025-04-22 11:06:12 +08:00
|
|
|
spring.datasource.password=123456
|
2024-12-13 15:27:59 +08:00
|
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
2025-04-02 18:03:37 +08:00
|
|
|
#ai
|
2025-05-28 17:03:21 +08:00
|
|
|
spring.ai.ollama.base-url=http://192.168.1.110:11434
|
2025-05-26 09:55:02 +08:00
|
|
|
spring.ai.ollama.chat.options.model=qwen3:8b
|
2025-04-02 18:03:37 +08:00
|
|
|
spring.ai.ollama.chat.options.num-g-p-u=1
|
2025-04-29 14:01:00 +08:00
|
|
|
spring.ai.ollama.embedding.options.internal-tool-execution-enabled=true
|
2025-05-26 09:55:02 +08:00
|
|
|
spring.ai.ollama.embedding.options.model=bge-m3:567m
|
2025-04-29 14:01:00 +08:00
|
|
|
spring.ai.vectorstore.mariadb.initialize-schema=true
|
|
|
|
|
spring.ai.vectorstore.mariadb.distance-type=COSINE
|
2025-05-26 09:55:02 +08:00
|
|
|
spring.ai.vectorstore.mariadb.dimensions=1024
|
2025-05-22 17:31:36 +08:00
|
|
|
spring.ai.vectorstore.mariadb.table-name=ai_rag
|
|
|
|
|
spring.thymeleaf.suffix=.html
|
|
|
|
|
spring.thymeleaf.prefix=classpath:/templates/
|
|
|
|
|
spring.thymeleaf.cache=true
|
|
|
|
|
spring.thymeleaf.mode=HTML
|
|
|
|
|
spring.thymeleaf.encoding=utf-8
|
|
|
|
|
spring.thymeleaf.enabled=true
|
2025-04-22 10:05:15 +08:00
|
|
|
allow.upload.file.types=doc, docx, txt, csv, xls, xlsx, pdf, ppt, pptx
|
2025-05-21 16:53:54 +08:00
|
|
|
ai.file.upload.store.dir=/szsd/data/ele/aifile/
|
2025-03-07 17:51:14 +08:00
|
|
|
# mybatis
|
|
|
|
|
mybatis-plus.mapper-locations=classpath:sqlmapper/*.xml
|
|
|
|
|
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
2024-12-13 15:27:59 +08:00
|
|
|
pagehelper.helperDialect=mysql
|
|
|
|
|
pagehelper.reasonable=false
|
2025-03-07 17:51:14 +08:00
|
|
|
# app
|
2025-02-11 15:32:55 +08:00
|
|
|
server.port=12396
|
2025-03-17 15:00:07 +08:00
|
|
|
winPrefix:D:/tmp
|
2025-04-22 11:06:12 +08:00
|
|
|
prjRootPath=/szsd/data/ele/prj/dev/
|
|
|
|
|
data.ele.tmp.path=tmp/
|
2025-04-08 09:14:23 +08:00
|
|
|
ai.store.max.docs=200
|
2025-03-07 17:43:38 +08:00
|
|
|
# sys path
|
2025-04-22 11:06:12 +08:00
|
|
|
data.sys.prj.path=sys_project/
|
|
|
|
|
data.sys.upload.path=sys_upload/
|
|
|
|
|
data.sys.download.path=sys_download/
|
2025-02-20 15:13:22 +08:00
|
|
|
# user path
|
2025-04-22 11:06:12 +08:00
|
|
|
data.user.prj.path=user_project/
|
|
|
|
|
data.user.upload.path=user_upload/
|
|
|
|
|
data.user.download.path=user_download/
|
2025-03-07 17:43:38 +08:00
|
|
|
# repo path
|
2025-04-22 11:06:12 +08:00
|
|
|
data.repo.prj.path=repo_project/
|
|
|
|
|
data.repo.upload.path=repo_upload/
|
|
|
|
|
data.repo.download.path=repo_download/
|
2025-06-18 14:54:07 +08:00
|
|
|
# import path
|
|
|
|
|
data.import.prj.path=import_project/
|
|
|
|
|
data.import.upload.path=import_upload/
|
|
|
|
|
data.import.download.path=import_download/
|
2024-12-18 08:55:48 +08:00
|
|
|
prj.folder.max.length=6
|
2025-03-14 10:52:20 +08:00
|
|
|
# backupFiles
|
2025-03-25 15:21:57 +08:00
|
|
|
tmp.file.store.hour=48
|
2025-02-27 16:25:13 +08:00
|
|
|
backup.remote.host=127.0.0.1
|
2025-03-13 17:24:02 +08:00
|
|
|
backup.remote.port=1111
|
2025-03-18 12:03:45 +08:00
|
|
|
backup.mysql.path=/workspace/mysqlbak/test
|
2025-04-02 18:03:37 +08:00
|
|
|
backup.mysql.script.path=/workspace/mysqlbak/back_dev.sh
|