Add extra_hosts to the docker-compose files.
[oam.git] / solution / smo / oam / docker-compose.yml
index 9d2c5b5..a052e95 100755 (executable)
@@ -28,6 +28,8 @@ services:
     image: ${SDNC_IMAGE}
     container_name: controller
     hostname: controller
+    extra_hosts:
+      - "identity.smo.o-ran-sc.org:${HOST_IP}"
     healthcheck:
       test: wget -U ${ADMIN_USERNAME}:${ADMIN_PASSWORD} --no-verbose --tries=1 --spider http://localhost:${SDNC_REST_PORT}/ready || exit 1
       start_period: 60s
@@ -111,4 +113,4 @@ networks:
       driver: default
       config:
       - subnet:  "${NETWORK_SUBNET_OAM_IPv6}"
-        gateway: "${NETWORK_GATEWAY_OAM_IPv6}"
\ No newline at end of file
+        gateway: "${NETWORK_GATEWAY_OAM_IPv6}"