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

21 lines
478 B
Markdown

### Sample Config Client
#### Add libras for client config
```groovy
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.cloud:spring-cloud-starter-config'
```
#### Add config bootstrap
```yml
spring:
application:
name: config-client-sample
cloud:
config:
uri: ${CONFIG_URL:https://config-apren.cubetiqs.com}
profile: config-client-sample
username: myUsername
password: myPassword
```