Add Kafka-bridge flows 20/11320/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Sun, 11 Jun 2023 12:00:34 +0000 (12:00 +0000)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Sun, 11 Jun 2023 12:00:37 +0000 (12:00 +0000)
- 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>
solution/smo/apps/docker-compose.yml

index 7820854..ce4eb45 100644 (file)
@@ -9,6 +9,8 @@ services:
         - 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 @@ services:
       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