Skip to content
Snippets Groups Projects
Commit 836e9dba authored by Alfonso Tierno's avatar Alfonso Tierno
Browse files

bug 801 increase healthcheck timeout for NBI/POL/MON


Change-Id: I36a4b5ec36367ed3863dae2193e598a7f276322e
Signed-off-by: default avatartierno <alfonso.tiernosepulveda@telefonica.com>
parent 8cb84422
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