projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug 801 increase healthcheck timeout for NBI/POL/MON
[osm/devops.git]
/
docker
/
NBI
/
Dockerfile
diff --git
a/docker/NBI/Dockerfile
b/docker/NBI/Dockerfile
index
87fa0ac
..
0771c74
100644
(file)
--- a/
docker/NBI/Dockerfile
+++ b/
docker/NBI/Dockerfile
@@
-81,7
+81,7
@@
ENV OSMNBI_AUTHENTICATION_BACKEND internal
ENV OSMNBI_PROMETHEUS_HOST prometheus
ENV OSMNBI_PROMETHEUS_PORT 9090
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
CMD curl -k https://localhost:9999/osm/ | grep Welcome || exit 1
# Run app.py when the container launches