Skip to content

dkorotych/spring-boot-admin-template

Repository files navigation

Spring Boot Admin Template Application

Spring Boot Admin Application for deploy template for Heroku

button

Register client

Add spring-boot-admin-client dependency

pom.xml
<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>spring-boot-admin-starter-client</artifactId>
    <version>3.4.1</version>
</dependency>

or

build.gradle
implementation 'de.codecentric:spring-boot-admin-starter-client:3.4.1'

Add configuration code look like this to your Spring Boot configuration file

application.yaml
spring:
  boot:
    admin:
      client:
        url: https://<admin-application-name>.herokuapp.com/
        instance:
          management-base-url: https://<client-application-name>.herokuapp.com/
          service-base-url: ${spring.boot.admin.client.instance.management-base-url}
        auto-deregistration: true
        period: 5m

or

application.properties
spring.boot.admin.client.url=https://<admin-application-name>.herokuapp.com/
spring.boot.admin.client.instance.management-base-url=https://<client-application-name>.herokuapp.com/
spring.boot.admin.client.instance.service-base-url=${spring.boot.admin.client.instance.management-base-url}
spring.boot.admin.client.auto-deregistration=true
spring.boot.admin.client.period=5m

Additional information about configuration client application

About

Spring Boot Admin Application for deploy template for Heroku

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •