X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fsmo%2Fcommon%2Fdocker-compose.yml;h=aa0422b335b317c651335496ee6b76bd34b48879;hb=660fe5384e6f0652e8754e0f2365b4f5355a49c5;hp=cbdcb9c51f66ff49a4c2b13bf5e755064ddf303e;hpb=470bbf5501fc5afbb2b084c86ccc1e0184292a5b;p=oam.git diff --git a/solution/smo/common/docker-compose.yml b/solution/smo/common/docker-compose.yml index cbdcb9c..aa0422b 100755 --- a/solution/smo/common/docker-compose.yml +++ b/solution/smo/common/docker-compose.yml @@ -73,8 +73,8 @@ services: traefik.http.routers.gateway.tls: true traefik.http.services.gateway.loadbalancer.server.port: 8080 networks: - - dmz - - dcn + dmz: + dcn: identitydb: image: ${IDENTITYDB_IMAGE} @@ -125,8 +125,8 @@ services: gateway: condition: service_healthy networks: - - dmz - - default + dmz: + default: persistence: image: ${PERSISTENCE_IMAGE} @@ -175,6 +175,34 @@ services: zookeeper: condition: service_started + kafka-bridge: + image: ${KAFKA_BRIDGE_IMAGE} + container_name: kafka-bridge + hostname: kafka-bridge + entrypoint: /opt/strimzi/bin/kafka_bridge_run.sh + command: --config-file=config/application.properties + healthcheck: + test: curl http://localhost:8080/healthy || exit 1 + interval: 5s + timeout: 5s + retries: 5 + labels: + traefik.enable: true + traefik.http.routers.kafka-bridge.entrypoints: websecure + traefik.http.routers.kafka-bridge.rule: Host(`kafka-bridge.${SOLUTION_DOMAIN}`) + traefik.http.routers.kafka-bridge.tls: true + traefik.http.services.kafka-bridge.loadbalancer.server.port: 8080 + volumes: + - ./kafka-bridge:/opt/strimzi/config + depends_on: + kafka: + condition: service_started + gateway: + condition: service_healthy + networks: + dmz: + default: + messages: image: ${DMAAP_IMAGE} container_name: messages @@ -197,8 +225,8 @@ services: gateway: condition: service_healthy networks: - - dmz - - default + dmz: + default: networks: dmz: