1 Star 0 Fork 0

Durian/tensqaure_config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
spit-dev.yml 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
Durian 提交于 2020-02-16 16:18 . update spit-dev.yml.
server:
port: 9006
spring:
application:
name: tensquare-spit
data:
mongodb:
uri: mongodb://spit:123456@47.93.11.144:27017/spitdb
redis:
host: 47.93.11.144
port: 6379
password: Yw43112819981016+0035
database: 0
timeout: 20000
jwt:
config:
ttl: 1800000
key: ${TENSQUARE_HOME}
eureka:
client:
service-url:
defaultZone: http://192.168.113.132:8761/eureka
instance:
# 模块间跨IP访问
prefer-ip-address: true
# 服务提供方配置
# 服务刷新时间配置,每隔这个时间会主动心跳一次 默认 30s
lease-renewal-interval-in-seconds: 5
# 服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除
# 注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,默认90s
# 这个配置一般为服务刷新时间配置的三倍
lease-expiration-duration-in-seconds: 15
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/durianyang/tensqaure_config.git
git@gitee.com:durianyang/tensqaure_config.git
durianyang
tensqaure_config
tensqaure_config
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385