add config server user creds
This commit is contained in:
5
pom.xml
5
pom.xml
@@ -53,11 +53,6 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>sydney.cheng</groupId>
|
||||
<artifactId>ec-microservice-commons-security</artifactId>
|
||||
<version>1.0.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>sydney.cheng</groupId>
|
||||
<artifactId>ec-microservice-commons-swagger</artifactId>
|
||||
|
||||
@@ -37,6 +37,12 @@ spring:
|
||||
name: ${application.name}
|
||||
profiles:
|
||||
active: native
|
||||
security:
|
||||
basic:
|
||||
enabled: true
|
||||
user:
|
||||
name: ${CONFIG_SERVER_USERNAME:configuser}
|
||||
password: ${CONFIG_SERVER_PASSWORD:configPass$1234}
|
||||
cloud:
|
||||
config:
|
||||
server:
|
||||
|
||||
Reference in New Issue
Block a user