projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc5714c
)
Feature 10986: Autoheal switch and Autoscale switch
13/13313/2
author
sritharan
<priyadarshini@tataelxsi.co.in>
Fri, 28 Apr 2023 05:38:10 +0000
(
05:38
+0000)
committer
garciadeblas
<gerardo.garciadeblas@telefonica.com>
Thu, 4 May 2023 15:18:08 +0000
(17:18 +0200)
Change-Id: I851299bf9bf57e9e50d6e1ad387766bbe13a192d
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
docker/POL/Dockerfile
patch
|
blob
|
history
diff --git
a/docker/POL/Dockerfile
b/docker/POL/Dockerfile
index
b807bfd
..
22653e3
100644
(file)
--- a/
docker/POL/Dockerfile
+++ b/
docker/POL/Dockerfile
@@
-102,6
+102,10
@@
ENV OSMPOL_SQL_DATABASE_URI sqlite:///mon_sqlite.db
ENV OSMPOL_GLOBAL_LOG_LEVEL INFO
+ENV OSMPOL_AUTOHEAL_ENABLED True
+
+ENV OSMPOL_AUTOSCALE_ENABLED True
+
HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
CMD osm-pol-healthcheck || exit 1