Update 'README.md'
This commit is contained in:
parent
692e794ec4
commit
c8bf052e91
20
README.md
20
README.md
@ -0,0 +1,20 @@
|
|||||||
|
### 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: SomboCheaRootAdmin
|
||||||
|
password: noRootPassword7891
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user