From 05ee8ab29eb39cc34bd679e238c8051f29d93c35 Mon Sep 17 00:00:00 2001 From: sritharan Date: Fri, 28 Apr 2023 05:38:10 +0000 Subject: [PATCH] Feature 10986: Autoheal switch and Autoscale switch Change-Id: I851299bf9bf57e9e50d6e1ad387766bbe13a192d Signed-off-by: sritharan --- docker/POL/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1