Gitlab - Argos ALM by PALO IT

Commit afe22776 authored by Julian Pulido's avatar Julian Pulido

add vault config

parent 81adccda
...@@ -46,6 +46,12 @@ services: ...@@ -46,6 +46,12 @@ services:
- 9092:9092 # Kafka Broker port - 9092:9092 # Kafka Broker port
networks: networks:
- 'kafka' - 'kafka'
vault:
image: hashicorp/vault:latest
ports:
- "8200:8200"
environment:
VAULT_DEV_ROOT_TOKEN_ID: 'dev-only-token'
networks: networks:
kafka: kafka:
......
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
<artifactId>micrometer-registry-prometheus</artifactId> <artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-vault-config</artifactId>
</dependency>
</dependencies> </dependencies>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
......
...@@ -24,6 +24,9 @@ spring.jackson.visibility.getter=none ...@@ -24,6 +24,9 @@ spring.jackson.visibility.getter=none
spring.jackson.visibility.setter=none spring.jackson.visibility.setter=none
spring.jackson.visibility.is-getter=none spring.jackson.visibility.is-getter=none
# Cloud Vault
spring.cloud.vault.enabled=false
spring.cloud.function.definition=measureConsumer spring.cloud.function.definition=measureConsumer
#Producer #Producer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment