|
|
|
@ -7,7 +7,7 @@ impp.console.ip=http://console:8010
|
|
|
|
|
#服务注册中心(多注册中心逗号分隔)
|
|
|
|
|
impp.cluster.regist.center=http://register:8000/eureka/
|
|
|
|
|
#日志默认使用log4j2
|
|
|
|
|
logging.config=classpath:log4j2-spring-dev.xml
|
|
|
|
|
logging.config=classpath:log4j2-spring-prod.xml
|
|
|
|
|
|
|
|
|
|
########平台相关参数##########
|
|
|
|
|
#是否开启redis缓存
|
|
|
|
@ -85,8 +85,6 @@ spring.jpa.show-sql=true
|
|
|
|
|
#表关系create,create-drop,update,validate
|
|
|
|
|
spring.jpa.properties.hibernate.hbm2ddl.auto=update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##############定时任务持久化##############
|
|
|
|
|
impp.schedule.open=true
|
|
|
|
|
impp.schedule.datasource.driver-class-name=com.mysql.jdbc.Driver
|
|
|
|
@ -166,3 +164,21 @@ spring.zipkin.sender.type=web
|
|
|
|
|
spring.zipkin.base-url=${impp.console.ip}
|
|
|
|
|
#追踪深度,百分比,1是全部
|
|
|
|
|
spring.sleuth.sampler.probability=1.0
|
|
|
|
|
|
|
|
|
|
################ FastDfs 配置 ################
|
|
|
|
|
#tracker服务器ip
|
|
|
|
|
fastdfs.tracker_servers=tracker:7031
|
|
|
|
|
# tracker的http端口
|
|
|
|
|
fastdfs.http_tracker_http_port=7031
|
|
|
|
|
# 使用自定义工具获取文件展示地址
|
|
|
|
|
fastdfs.http.ui.host=http://tracker:7030
|
|
|
|
|
#密码
|
|
|
|
|
#fastdfs.http.secret_key=
|
|
|
|
|
|
|
|
|
|
#连接超时
|
|
|
|
|
fastdfs.connect_timeout_in_seconds=5
|
|
|
|
|
#传输超时
|
|
|
|
|
fastdfs.network_timeout_in_seconds=60
|
|
|
|
|
fastdfs.charset=UTF-8
|
|
|
|
|
# token 防盗链功能
|
|
|
|
|
fastdfs.http_anti_steal_token=no
|