application.yml 1.29 KB
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
  file: "target/boot-admin-sample-reactive.log"
8 9

management:
10 11
  endpoints:
    web:
12 13
      exposure:
        include: "*"
14 15
  endpoint:
    health:
16
      show-details: ALWAYS
17

18 19
spring:
  application:
20
    name: spring-boot-admin-sample-reactive
21 22
  boot:
    admin:
23 24
      client:
        url: http://localhost:8080
25 26
  profiles:
    active:
27
      - insecure
28

29 30 31 32 33 34 35 36 37 38 39
---
spring:
  profiles: dev
  boot:
    admin:
      ui:
        cache:
          no-cache: true
        template-location: file://@project.basedir@/../../spring-boot-admin-server-ui/target/dist/
        resource-locations: file://@project.basedir@/../../spring-boot-admin-server-ui/target/dist/
        cache-templates: false
Johannes Edmeier committed
40

41 42 43 44 45 46 47
---
spring:
  profiles: insecure

---
spring:
  profiles: secure
48 49 50 51
  security:
    user:
      name: "user"
      password: "password"
52 53
  boot:
    admin:
54 55
      client:
        username: "user"       #These two are needed so that the client
56
        password: "password"   #can register at the protected server api
57 58 59
        instance:
          metadata:
            user.name: "user"         #These two are needed so that the server
60
            user.password: "password" #can access the protected client endpoints
61

62