spring boot配置

spring.application.name=XXXXX
server.port=9515

# health显示down的问题
endpoints.health.sensitive= false
management.security.enabled= false
# 显示info信息
info.build.artifact=XXXXX
info.build.name=XXXXXX
info.build.description=XXXX
info.build.version=1.0.0-SNAPSHOT

eureka.instance.lease-renewal-interval-in-seconds= 2
eureka.instance.lease-expiration-duration-in-seconds= 4
eureka.client.serviceUrl.defaultZone=http://XXXXXX:8888/eureka/,http://XXXXXX:8888/eureka/
#eureka.instance.hostname=XXXXX.238

spring.zipkin.base-url=http://XXXXX:8886/

spring.output.ansi.enabled = ALWAYS
hystrix.command.default.execution.timeout.enabled=false

MQ_URL=failover:(tcp://XXXXX:61616)?initialReconnectDelay=100
NODE_NAME=XXXXX

redis.nodes=XXXXX:7000;XXXXX:7001;10.0.3.246:7002

spring.data.mongodb.uri=mongodb://用户名:密码@IP地址:27017/?authSource=admin&authMechanism=SCRAM-SHA-1
spring.data.mongodb.database=名称

posted on 2017-06-05 20:33  dhj  阅读(444)  评论(0编辑  收藏  举报

导航