|
@@ -1,6 +1,15 @@
|
|
|
server:
|
|
|
port: 6751
|
|
|
|
|
|
+spring:
|
|
|
+ application:
|
|
|
+ name: register-center
|
|
|
+ boot:
|
|
|
+ admin:
|
|
|
+ client: # 用户名密码需要配置,否则到监控中心报名
|
|
|
+ url: http://localhost:9985 # 配置监控服务端的地址
|
|
|
+ username: admin
|
|
|
+ password: lantone
|
|
|
|
|
|
eureka:
|
|
|
instance:
|
|
@@ -12,4 +21,14 @@ eureka:
|
|
|
defaultZone: http://localhost:${server.port}/eureka/
|
|
|
|
|
|
logging:
|
|
|
- config: classpath:logback-spring.xml
|
|
|
+ config: classpath:logback-spring.xml
|
|
|
+ file: logs/register-center/log_info.log
|
|
|
+
|
|
|
+management:
|
|
|
+ endpoints:
|
|
|
+ web:
|
|
|
+ exposure:
|
|
|
+ include: '*'
|
|
|
+ endpoint:
|
|
|
+ health:
|
|
|
+ show-details: always
|