From: sritharan Date: Fri, 28 Apr 2023 05:38:10 +0000 (+0000) Subject: Feature 10986: Autoheal switch and Autoscale switch X-Git-Tag: release-v14.0-start~69 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F13313%2F2;p=osm%2Fdevops.git Feature 10986: Autoheal switch and Autoscale switch Change-Id: I851299bf9bf57e9e50d6e1ad387766bbe13a192d Signed-off-by: sritharan --- diff --git a/docker/POL/Dockerfile b/docker/POL/Dockerfile index b807bfdb..22653e37 100644 --- 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