Add smoke/health tests to OSM stage_3
[osm/devops.git] / docker / RO / Dockerfile
index cfccb68..0607d91 100644 (file)
@@ -47,4 +47,6 @@ ENV RO_DB_OVIM_PORT=3306
 ENV RO_DB_NAME=mano_db
 ENV RO_DB_OVIM_NAME=mano_vim_db
 
+HEALTHCHECK --interval=5s --timeout=2s --retries=12 \
+  CMD curl --silent --fail localhost:9090/openmano/tenants || exit 1
 CMD /bin/RO/start.sh