X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FPOL%2FDockerfile;h=2dd1382b23b6802727b61be66158542224167067;hb=cef05e98f275060baf59f2e2f3ea5be2510b6771;hp=fde710f584e8070ab0cdc39a644ea6d81749b4b1;hpb=56f3bbf7088fc6b15270e8240a7baf7d3bfe559f;p=osm%2Fdevops.git diff --git a/docker/POL/Dockerfile b/docker/POL/Dockerfile index fde710f5..2dd1382b 100644 --- a/docker/POL/Dockerfile +++ b/docker/POL/Dockerfile @@ -55,4 +55,7 @@ ENV OSMPOL_SQL_DATABASE_URI sqlite:///mon_sqlite.db ENV OSMPOL_GLOBAL_LOG_LEVEL INFO +HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \ + CMD osm-pol-healthcheck || exit 1 + CMD /bin/bash scripts/start.sh