增加spring cloud config的测试配置
This commit is contained in:
20
spring-cloud/spring-cloud-test-config/application-dev.yml
Normal file
20
spring-cloud/spring-cloud-test-config/application-dev.yml
Normal file
@ -0,0 +1,20 @@
|
||||
spring:
|
||||
application:
|
||||
name: server
|
||||
server:
|
||||
port: 8010
|
||||
eureka:
|
||||
server:
|
||||
# 关闭自我保护机制 开发的时候可以开启 保证不可用的服务能够及时剔除
|
||||
enable-self-preservation: false
|
||||
instance:
|
||||
hostname: 127.0.0.1
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://localhost:8020/eureka/,http://192.168.200.228:8030/eureka/
|
||||
|
||||
|
||||
programmer:
|
||||
school:
|
||||
name: unviersity
|
||||
location: shanghai
|
Reference in New Issue
Block a user