Update application.yml

This commit is contained in:
heibaiying 2019-01-17 10:25:26 +08:00 committed by GitHub
parent 312f219451
commit e88a769fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,3 @@
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:
name: xiaoming
married: false