X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=docker%2FPOL%2FDockerfile;h=2dd1382b23b6802727b61be66158542224167067;hb=refs%2Fchanges%2F84%2F7784%2F1;hp=fde710f584e8070ab0cdc39a644ea6d81749b4b1;hpb=8e003844f709b266197caf1540f03b007882f05c;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