projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving charms to use latest stable release container image
[osm/devops.git]
/
docker
/
POL
/
Dockerfile
diff --git
a/docker/POL/Dockerfile
b/docker/POL/Dockerfile
index
fde710f
..
879e91c
100644
(file)
--- 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
&& pip3 install pip==9.0.3
ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
-ARG RELEASE=Release
FOUR
-daily
+ARG RELEASE=Release
NINE
-daily
ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
ARG REPOSITORY=testing
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
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
CMD /bin/bash scripts/start.sh