X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FPOL%2FDockerfile;h=879e91c7eb90777e4a76b13fabfb5ae9c0d83d59;hb=b3daa3a5aa897ea1f0708c520e325bfd682d2a12;hp=fde710f584e8070ab0cdc39a644ea6d81749b4b1;hpb=56f3bbf7088fc6b15270e8240a7baf7d3bfe559f;p=osm%2Fdevops.git diff --git a/docker/POL/Dockerfile b/docker/POL/Dockerfile index fde710f5..879e91c7 100644 --- a/docker/POL/Dockerfile +++ b/docker/POL/Dockerfile @@ -30,7 +30,7 @@ RUN apt-get --yes update \ && pip3 install pip==9.0.3 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian -ARG RELEASE=ReleaseFOUR-daily +ARG RELEASE=ReleaseNINE-daily ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg ARG REPOSITORY=testing @@ -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