secure configuration server
This commit is contained in:
parent
cf7d8078aa
commit
09fc6d9ee4
|
@ -1,6 +1,9 @@
|
|||
spring.cloud.config.name=resource
|
||||
spring.cloud.config.discovery.service-id=config
|
||||
spring.cloud.config.discovery.enabled=true
|
||||
spring.cloud.config.username=configUser
|
||||
spring.cloud.config.password=configPassword
|
||||
|
||||
eureka.client.serviceUrl.defaultZone=http://system:systemPass@localhost:8761/eureka
|
||||
|
||||
server.port=8086
|
||||
server.port=8084
|
|
@ -1,6 +1,9 @@
|
|||
spring.cloud.config.name=resource
|
||||
spring.cloud.config.discovery.service-id=config
|
||||
spring.cloud.config.discovery.enabled=true
|
||||
spring.cloud.config.username=configUser
|
||||
spring.cloud.config.password=configPassword
|
||||
|
||||
eureka.client.serviceUrl.defaultZone=http://system:systemPass@localhost:8761/eureka
|
||||
|
||||
server.port=8085
|
|
@ -34,6 +34,10 @@
|
|||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
|
@ -6,3 +6,6 @@ spring.cloud.config.server.git.uri=${HOME}/application-config
|
|||
eureka.client.region = default
|
||||
eureka.client.registryFetchIntervalSeconds = 5
|
||||
eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://system:systemPass@localhost:8761/eureka}
|
||||
|
||||
security.user.name=configUser
|
||||
security.user.password=configPassword
|
|
@ -1,2 +1,4 @@
|
|||
spring.cloud.config.name=spring-cloud-rest-server
|
||||
spring.cloud.config.uri=http://localhost:8081
|
||||
spring.cloud.config.uri=http://localhost:8081
|
||||
spring.cloud.config.username=configUser
|
||||
spring.cloud.config.password=configPassword
|
Loading…
Reference in New Issue