bootstrap.properties 676 字节
Newer Older
夏天飘过的风's avatar
夏天飘过的风 已提交
1 2 3 4 5 6 7 8 9 10
# info
info.eureka.host01=192.168.1.185
info.eureka.host02=192.168.1.185
info.eureka.port01=5761
info.eureka.port02=5762

# profile
spring.profiles.active=local

# eureka
夏天飘过的风's avatar
夏天飘过的风 已提交
11
eureka.client.serviceUrl.defaultZone=http://${info.eureka.host01}:${info.eureka.port01}/eureka/,http://${info.eureka.host02}:${info.eureka.port02}/eureka/
夏天飘过的风's avatar
夏天飘过的风 已提交
12 13 14 15 16 17 18 19 20 21 22 23

# server
server.port=5840

# application
spring.application.name=roncoo-education-gateway-api

# spring cloud config client
spring.cloud.config.profile=${spring.profiles.active}
spring.cloud.config.label=master
spring.cloud.config.discovery.enabled=true
spring.cloud.config.discovery.service-id=roncoo-education-server-config