From a99e498395f83f88777bf106b24f99f320f8de92 Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Sat, 1 Jul 2023 13:39:44 +0000 Subject: [PATCH] Distinguish between expected and active topology - add topology service to SMO common components Issue-ID: OAM-341 Change-Id: Idab9c10c1336dc0cd68c407668ebb6d5d56280de Signed-off-by: demx8as6 --- solution/smo/common/docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/solution/smo/common/docker-compose.yml b/solution/smo/common/docker-compose.yml index aa0422b..4007619 100755 --- a/solution/smo/common/docker-compose.yml +++ b/solution/smo/common/docker-compose.yml @@ -203,6 +203,29 @@ services: dmz: default: + topology: + image: "${O_RAN_SC_TOPOLOGY_IMAGE}" + container_name: topology + hostname: topology + healthcheck: + test: curl -u ${ADMIN_USERNAME}:${ADMIN_USERNAME} http://localhost:8181 || exit 1 + start_period: 30s + interval: 10s + timeout: 5s + retries: 5 + volumes: + - ./topology/tapi-common-operational.json:/opt/dev/deploy/data/tapi-common-operational.json + - ./topology/tapi-common-running.json:/opt/dev/deploy/data/tapi-common-running.json + labels: + traefik.enable: true + traefik.http.routers.topology.entrypoints: websecure + traefik.http.routers.topology.rule: Host(`topology.${SOLUTION_DOMAIN}`) + traefik.http.routers.topology.tls: true + traefik.http.services.topology.loadbalancer.server.port: 8181 + networks: + dmz: + default: + messages: image: ${DMAAP_IMAGE} container_name: messages -- 2.16.6