# Spring cloud config

# Eureka config for discovery
eureka.client.serviceUrl.defaultZone=http://localhost:9528/eureka/
eureka.instance.preferIpAddress=true

# Consul config for discovery
spring.cloud.consul.host=localhost
spring.cloud.consul.port=8500
spring.cloud.consul.discovery.preferIpAddress=true

# Zookeeper config for discovery
spring.cloud.zookeeper.connectString=localhost:2181
spring.cloud.zookeeper.discovery.instancePort=${server.port}
spring.cloud.zookeeper.discovery.root=/spring-cloud-service
spring.cloud.zookeeper.discovery.preferIpAddress=true

# Nacos config for discovery
spring.cloud.nacos.discovery.server-addr=localhost:8848
# spring.cloud.nacos.discovery.namespace=discovery

# Ribbon config
ribbon.ConnectTimeout=60000
ribbon.ReadTimeout=60000

# Apollo config for rule
apollo.portal-url=http://localhost:8088
apollo.token=b26d851c635fd51ae21981443d7aa75f14d99e4e
apollo.operator=apollo
# apollo.connect-timeout=1000
# apollo.read-timeout=5000
apollo.plugin.app.id=discovery
apollo.plugin.env=DEV
# apollo.plugin.cluster=default
# apollo.plugin.namespace=application

# Nacos config for rule
nacos.server-addr=localhost:8848
# nacos.plugin.namespace=application

# Redis config for rule
spring.redis.host=localhost
spring.redis.port=6379
spring.redis.password=
spring.redis.database=0
spring.redis.pool.max-active=8
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=8
spring.redis.pool.min-idle=0

# Admin config
# 该项只对Consul有效，而且必须配置在bootstrap.properties里，配置在application.properties无效
# management.health.consul.enabled=true
management.endpoints.web.exposure.include=*
management.endpoints.jmx.exposure.include=*
management.endpoint.health.show-details=ALWAYS
spring.boot.admin.client.url=http://localhost:5555

# User config
admin=admin
nepxion=nepxion