From e9411ba3ef345d335ceaefa39dd34e543d0fe71c Mon Sep 17 00:00:00 2001 From: Ryan Crichton Date: Fri, 13 Sep 2024 15:08:24 +0200 Subject: [PATCH] Allow configuration of clickhouse password in kafka mapper --- kafka-mapper-consumer/docker-compose.yml | 1 + kafka-mapper-consumer/package-metadata.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kafka-mapper-consumer/docker-compose.yml b/kafka-mapper-consumer/docker-compose.yml index 9f98831c..cdd96cda 100644 --- a/kafka-mapper-consumer/docker-compose.yml +++ b/kafka-mapper-consumer/docker-compose.yml @@ -15,6 +15,7 @@ services: REGISTER_MEDIATOR: ${REGISTER_MEDIATOR} CLICKHOUSE_HOST: ${CLICKHOUSE_HOST} CLICKHOUSE_PORT: ${CLICKHOUSE_PORT} + CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD} configs: - target: /app/src/data/fhir-mapping.json source: fhir-mapping.json diff --git a/kafka-mapper-consumer/package-metadata.json b/kafka-mapper-consumer/package-metadata.json index 9fa23ea9..c9f9401b 100644 --- a/kafka-mapper-consumer/package-metadata.json +++ b/kafka-mapper-consumer/package-metadata.json @@ -17,7 +17,8 @@ "REGISTER_MEDIATOR": "true", "CLICKHOUSE_HOST": "analytics-datastore-clickhouse", "CLICKHOUSE_PORT": "8123", - "KAFKA_CONSUMER_MAPPER_MEDIATOR_VERSION": "jembi/kafka-mapper-consumer:latest", + "CLICKHOUSE_PASSWORD": "dev_password_only", + "KAFKA_CONSUMER_MAPPER_MEDIATOR_VERSION": "jembi/kafka-mapper-consumer:new-pass", "KAFKA_CONSUMER_MAPPER_UI_VERSION": "jembi/kafka-mapper-consumer-ui:latest", "OPENHIM_CONSOLE_BASE_URL": "http://localhost:9000" }