Change-Id: I36a4b5ec36367ed3863dae2193e598a7f276322e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
EXPOSE 8000
-HEALTHCHECK --interval=5s --timeout=2s --retries=12 \
+HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
CMD osm-mon-healthcheck || exit 1
CMD /bin/bash scripts/start.sh
ENV OSMNBI_PROMETHEUS_HOST prometheus
ENV OSMNBI_PROMETHEUS_PORT 9090
-HEALTHCHECK --interval=5s --timeout=2s --retries=12 \
+HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
CMD curl -k https://localhost:9999/osm/ | grep Welcome || exit 1
# Run app.py when the container launches
ENV OSMPOL_GLOBAL_LOG_LEVEL INFO
-HEALTHCHECK --interval=5s --timeout=2s --retries=12 \
+HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
CMD osm-pol-healthcheck || exit 1
CMD /bin/bash scripts/start.sh