bootstrap.yml
605 Bytes
server:
port: 30100
spring:
profiles:
active:
${PROFILE}
application:
name: fanxing-integration-jiaoguansuo
cloud:
consul:
host: 192.168.9.233
port: 8500
discovery:
service-name: ${spring.application.name}
# config 在 consul > key/value 中命名规则: prefix/default-context,profiles.active/data-key
config:
enabled: true
format: YAML
prefix: fanxing
default-context: ${spring.application.name}
data-key: config
watch:
enabled: true
delay: 10000
wait-time: 30