application.yml 836 Bytes
Newer Older
1
---
2
info:
3 4
  scm-url: "@scm.url@"
  build-url: "http://travis-ci.org/@env.TRAVIS_REPO_SLUG@/builds/@env.TRAVIS_BUILD_ID@"
5

6
logging:
7 8 9
  file: "target/boot-admin-sample.log"

management:
10 11
  endpoints:
    web:
12
      expose: "*"
13

14 15
spring:
  application:
16
    name: spring-boot-admin-sample
17 18
  boot:
    admin:
19 20
      client:
        url: http://localhost:8080
21 22
  profiles:
    active:
23
      - insecure
24 25 26 27 28 29 30 31 32 33

---
spring:
  profiles: insecure

---
spring:
  profiles: secure
  boot:
    admin:
34 35 36 37 38 39 40
      client:
        username: "user"       #These two are needed so that the client
        password: "pass"       #can register at the protected server api
        instance:
          metadata:
            user.name: "user"         #These two are needed so that the server
            user.password: "pass"     #can access the proteceted client endpoints
41

42