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:
- 9092:9092 # Kafka Broker port
networks:
- 'kafka'
vault:
image: hashicorp/vault:latest
ports:
- "8200:8200"
environment:
VAULT_DEV_ROOT_TOKEN_ID: 'dev-only-token'
networks:
kafka:
......
......@@ -64,6 +64,10 @@
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-vault-config</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
......
......@@ -24,6 +24,9 @@ spring.jackson.visibility.getter=none
spring.jackson.visibility.setter=none
spring.jackson.visibility.is-getter=none
# Cloud Vault
spring.cloud.vault.enabled=false
spring.cloud.function.definition=measureConsumer
#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