projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bug 765: retry verify-ssh-credentials until 10 times every 30 seconds to wait...
[osm/LCM.git]
/
Dockerfile.local
diff --git
a/Dockerfile.local
b/Dockerfile.local
index
64036b8
..
00f0402
100644
(file)
--- a/
Dockerfile.local
+++ b/
Dockerfile.local
@@
-19,7
+19,7
@@
FROM ubuntu:16.04
WORKDIR /app/LCM/osm_lcm
RUN apt-get update && apt-get install -y git tox python3 \
WORKDIR /app/LCM/osm_lcm
RUN apt-get update && apt-get install -y git tox python3 \
- python3-pip python3-aiohttp \
+ python3-pip python3-aiohttp
python3-jinja2
\
&& pip3 install pip==9.0.3 \
&& pip3 install -U 'PyYAML==3.*' 'aiohttp==0.20.2' flake8
&& pip3 install pip==9.0.3 \
&& pip3 install -U 'PyYAML==3.*' 'aiohttp==0.20.2' flake8
@@
-57,6
+57,8
@@
ENV OSMLCM_VCA_HOST vca
ENV OSMLCM_VCA_PORT: 17070
ENV OSMLCM_VCA_USER: admin
ENV OSMLCM_VCA_SECRET: secret
ENV OSMLCM_VCA_PORT: 17070
ENV OSMLCM_VCA_USER: admin
ENV OSMLCM_VCA_SECRET: secret
+# ENV OSMLCM_VCA_PUBKEY: pubkey
+# ENV OSMLCM_VCA_CACERT: cacert
# database
ENV OSMLCM_DATABASE_DRIVER mongo
# database
ENV OSMLCM_DATABASE_DRIVER mongo
@@
-84,5
+86,5
@@
ADD . /app/LCM
# Run app.py when the container launches
CMD ["python3", "lcm.py"]
# Run app.py when the container launches
CMD ["python3", "lcm.py"]
-# HEALTHCHECK --interval=
30 --timeout=140
--retries=1 \
+# HEALTHCHECK --interval=
120s --timeout=15s
--retries=1 \
# CMD python3 lcm.py --health-check || exit 1
# CMD python3 lcm.py --health-check || exit 1