Skip to content
Snippets Groups Projects
Commit f3e42cf1 authored by madavi's avatar madavi Committed by Gerrit Code Review
Browse files

Merge "bug 801 increase healthcheck timeout for NBI/POL/MON"

parents d3cba7d6 836e9dba
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ ENV OSMMON_PROMETHEUS_URL http://prometheus:9090
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
......@@ -81,7 +81,7 @@ ENV OSMNBI_AUTHENTICATION_BACKEND internal
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
......
......@@ -55,7 +55,7 @@ ENV OSMPOL_SQL_DATABASE_URI sqlite:///mon_sqlite.db
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment