You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
4.6 KiB
125 lines
4.6 KiB
project:
|
|
# 项目访问url,无需 / 结尾
|
|
url: http://127.0.0.1:8080
|
|
# 前端访问url
|
|
front-end-url: http://localhost:3100
|
|
node: 127.0.0.1:${server.port}
|
|
springdoc:
|
|
api-docs:
|
|
#是否开启文档功能
|
|
enabled: true
|
|
#包扫描路径
|
|
packagesToScan: com.easy.admin
|
|
server:
|
|
# 端口号
|
|
port: 8080
|
|
# servlet:
|
|
# context-path: /guoyan #可以修改/jeecg-boot
|
|
logging:
|
|
file:
|
|
path: logs
|
|
spring:
|
|
jackson:
|
|
date-format: yyyy-MM-dd
|
|
time-zone: GMT+8
|
|
# elasticsearch:
|
|
# rest:
|
|
# # 连接超时时间
|
|
# connection-timeout: 1s
|
|
# username:
|
|
# password:
|
|
# # 读取超时时间
|
|
# read-timeout: 30s
|
|
# # es rest 接口地址,多个用逗号隔开
|
|
# uris: ${ES_HOST:127.0.0.1}:${ES_PORT:9200}
|
|
# Redis
|
|
redis:
|
|
# 数据库索引(默认为0)
|
|
database: 9
|
|
# 服务器地址
|
|
host: 127.0.0.1
|
|
# 服务器连接端口
|
|
port: 6379
|
|
# 服务器连接密码(默认为空)
|
|
password:
|
|
jedis:
|
|
pool:
|
|
# 连接池最大连接数(使用负值表示没有限制)
|
|
max-active: 8
|
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
max-wait: -1
|
|
# 连接池中的最大空闲连接
|
|
max-idle: 8
|
|
# 连接池中的最小空闲连接
|
|
min-idle: 0
|
|
# 连接超时时间 单位: 秒
|
|
timeout: 10
|
|
# 默认的数据过期时间 30 分钟 单位: 秒
|
|
expire: 1800
|
|
datasource:
|
|
dynamic:
|
|
datasource:
|
|
master:
|
|
url: jdbc:mysql://${DB_HOST:218.246.6.173}:${DB_PORT:3306}/${DB_NAME:guoyan_huzhou}?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
|
|
username: ${DB_USERNAME:root}
|
|
password: ${DB_PASSWORD:1q2w#E$R1qaz@WSX}
|
|
# url: jdbc:mysql://${DB_HOST:218.246.6.165}:${DB_PORT:3306}/${DB_NAME:guoyan_huzhou}?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
|
|
# username: ${DB_USERNAME:root}
|
|
# password: ${DB_PASSWORD:1q2w#E$R1qaz@WSX}
|
|
|
|
# url: jdbc:mariadb://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:easy_java}?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
|
|
# username: ${DB_USERNAME:root}
|
|
# password: ${DB_PASSWORD:root}
|
|
|
|
# url: jdbc:mariadb://${DB_HOST:218.246.6.173}:${DB_PORT:3306}/${DB_NAME:easy-vben}?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
|
|
# username: ${DB_USERNAME:root}
|
|
# password: ${DB_PASSWORD:Yun1993.}
|
|
# oss 对象存储
|
|
file:
|
|
storage:
|
|
# 文件存储方式:local - 本地存储 / oss - 对象存储
|
|
# type: oss
|
|
type: local
|
|
# 文件存放(local - 默认文件夹名称 / oss - 默认bucket名称),命名规范:只能包括小写字母、数字和短划线(-);必须以小写字母或者数字开头和结尾;长度为3~63个字符。
|
|
default-bucket: easy-default
|
|
# local - 本地存储
|
|
local:
|
|
# 用于存放上传的文件、临时文件等,以目录分隔符结尾(不要写以~开头的路径会导致无法访问)
|
|
path: /Users/tengchong/development/easy-vben/
|
|
# oss - 对象存储
|
|
# oss:
|
|
# # 对象存储类型,暂时仅支持 minio
|
|
# type: minio
|
|
# # oss api
|
|
# endpoint: http://127.0.0.1:9000
|
|
# # accessKey
|
|
# access-key: tZje4eJbaR52LU5Ynmgl
|
|
# # secretKey
|
|
# secret-key: LSYcLw9iLDwLrLTN8znE8xC5oG4AO2Fw12dPhfmX
|
|
# 打印sql语句,调试用
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
aj:
|
|
captcha:
|
|
# 滑动验证,底图路径,不配置将使用默认图片
|
|
jigsaw: classpath:images/verification
|
|
async:
|
|
executor:
|
|
thread:
|
|
# 配置核心线程数
|
|
core-pool-size: 5
|
|
# 配置最大线程数
|
|
max-pool-size: 5
|
|
# 配置队列大小
|
|
queue-capacity: 999
|
|
# 配置线程池中的线程的名称前缀
|
|
name-prefix: async-
|
|
# 配置线程最大空闲时间 s
|
|
keep-alive-seconds: 30
|
|
jeecg:
|
|
path:
|
|
#文件上传根目录 设置
|
|
# upload: /opt/upFiles
|
|
upload: D:/ce
|
|
uploadType: local
|