File tree 3 files changed +12
-4
lines changed
3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ dependencyManagement {
36
36
dependencies {
37
37
compile " org.springframework.boot:spring-boot-starter"
38
38
compile " org.springframework.boot:spring-boot-starter-security"
39
+ compile " de.codecentric:spring-boot-admin-starter-client:${ version} "
39
40
compile " de.codecentric:spring-boot-admin-server:${ version} "
40
41
compile " de.codecentric:spring-boot-admin-server-ui:${ version} "
41
42
compile " de.codecentric:spring-boot-admin-server-ui-login:${ version} "
Original file line number Diff line number Diff line change
1
+ server :
2
+ port : 8080
3
+
1
4
management :
2
5
context-path : /mgmt
3
6
@@ -9,10 +12,14 @@ security:
9
12
spring :
10
13
boot :
11
14
admin :
12
- url : http://spring-boot-admin:8080
13
- auth :
14
- username : admin
15
- password : password
15
+ url : http://localhost:${server.port}
16
+ username : ${security.user.name}
17
+ password : ${security.user.password}
18
+ client :
19
+ service-base-url : http://localhost:${server.port}
20
+ metadata :
21
+ user.name : ${security.user.name}
22
+ user.password : ${security.user.password}
16
23
notify :
17
24
rate : 60000
18
25
reminder :
You can’t perform that action at this time.
0 commit comments