Distinguish between expected and active topology 73/11473/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Sat, 1 Jul 2023 13:39:44 +0000 (13:39 +0000)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Sat, 1 Jul 2023 13:39:49 +0000 (13:39 +0000)
- add topology service to SMO common components

Issue-ID: OAM-341
Change-Id: Idab9c10c1336dc0cd68c407668ebb6d5d56280de
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
solution/smo/common/docker-compose.yml

index aa0422b..4007619 100755 (executable)
@@ -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