简单集成 spring boot admin ,即 ops 项目

This commit is contained in:
YunaiV
2019-03-08 01:43:32 +08:00
parent f525e97987
commit 9d46fdf3eb
11 changed files with 88 additions and 4 deletions

View File

@@ -1,9 +1,19 @@
spring:
application:
name: admin-application
boot:
admin:
client:
url: http://127.0.0.1:8080
# server
server:
port: 18083
servlet:
context-path: /admin-api/
context-path: /admin-api/
management:
endpoints:
web:
exposure:
include: "*"