backend-sample-config-client/README.md
2020-06-24 10:30:39 +07:00

478 B

Sample Config Client

Add libras for client config

implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.cloud:spring-cloud-starter-config'

Add config bootstrap

spring:
  application:
    name: config-client-sample
  cloud:
    config:
      uri: ${CONFIG_URL:https://config-apren.cubetiqs.com}
      profile: config-client-sample
      username: myUsername
      password: myPassword