40 lines
1.1 KiB
Properties
40 lines
1.1 KiB
Properties
########################## 统一变量配置 ##########################
|
|
##### 数据库配置
|
|
zlt.datasource.ip=127.0.0.1
|
|
zlt.datasource.username=root
|
|
zlt.datasource.password=123456
|
|
|
|
##### redis配置
|
|
spring.redis.host=127.0.0.1
|
|
spring.redis.port=6379
|
|
spring.redis.timeout=5000
|
|
|
|
##### elasticsearch配置
|
|
zlt.elasticsearch.uris=192.168.28.130:9200
|
|
zlt.elasticsearch.username=elastic
|
|
zlt.elasticsearch.password=qEnNfKNujqNrOPD9q5kb
|
|
|
|
##### sentinel配置
|
|
zlt.sentinel.dashboard=192.168.28.130:6999
|
|
|
|
##### fastDFS配置
|
|
zlt.fdfs.web-url=192.168.28.130
|
|
zlt.fdfs.trackerList=${zlt.fdfs.web-url}:22122
|
|
|
|
##### s3配置
|
|
zlt.s3.access-key=minioadmin
|
|
zlt.s3.accessKeySecret=minioadmin
|
|
zlt.s3.endpoint=http://192.168.28.130:9000
|
|
zlt.s3.bucketName=test
|
|
|
|
##### 日志链路追踪
|
|
zlt.trace.enable=true
|
|
|
|
##### 负载均衡隔离(version隔离,只适用于开发环境)
|
|
zlt.ribbon.isolation.enabled=false
|
|
|
|
##### mybatis-plus打印完整sql(只适用于开发环境)
|
|
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
# 开启版本路由
|
|
#zlt.loadbalance.isolation.enabled=true |