Add Kafka-bridge flows
- add extra host to apps/docker-compose to simplify the DNS handling
Issue-ID: OAM-338
Change-Id: If6734ce3d95c4f0313579fbdff85f84bd9ba0da7
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
diff --git a/solution/smo/apps/docker-compose.yml b/solution/smo/apps/docker-compose.yml
index 7820854..ce4eb45 100644
--- a/solution/smo/apps/docker-compose.yml
+++ b/solution/smo/apps/docker-compose.yml
@@ -9,6 +9,8 @@
- BASEIMAGE=${FLOWS_IMAGE}
container_name: flows
hostname: flows
+ extra_hosts:
+ - "flows.oam.${SOLUTION_DOMAIN}:${HOST_IP}"
environment:
APP_VENDOR: ${APP_VENDOR}
APP_SOURCE: ${APP_SOURCE}
@@ -27,7 +29,11 @@
MESSAGES_PROTOCOL: https
MESSAGES_HOST: messages.${SOLUTION_DOMAIN}
MESSAGES_PORT: 443
-
+ KAFKA_BRIDGE_PROTOCOL: https
+ KAFKA_BRIDGE_HOST: kafka-bridge.${SOLUTION_DOMAIN}
+ KAFKA_BRIDGE_PORT: 443
+ KAFKA_BRIDGE_CONSUMER_GROUP: app
+ KAFKA_BRIDGE_CONSUMER_NAME: message-consumer
labels:
traefik.enable: true
traefik.http.routers.flows.entrypoints: websecure