X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FMON%2FDockerfile;h=5b9da33eeb624002337f577eddeb0e4954022804;hb=a4347784b2c9bbe518efbbcfbafcfcc6a41b5aa3;hp=390c8dfdad156203149fd6e545a89e6b8c43de68;hpb=d824bdd5f19a87bfcad6c1ef349c00af5507f369;p=osm%2Fdevops.git diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index 390c8dfd..5b9da33e 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/Dockerfile @@ -28,7 +28,7 @@ RUN apt-get update && apt-get -y install curl software-properties-common RUN apt-get --yes update \ && apt-get --yes install git python python-pip python3 python3-pip libmysqlclient-dev libssl-dev libffi-dev \ - && apt-get --yes install python3-pymongo && pip3 install pip==9.0.3 + && pip3 install pip==9.0.3 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian ARG RELEASE=ReleaseFOUR-daily @@ -45,11 +45,12 @@ RUN apt-get --yes update && apt-get -y install python3-osm-common${COMMON_VERSI COPY scripts/ scripts/ -RUN pip3 install -r scripts/requirements.txt - -# These ENV must be provided -# ENV BROKER_URI=kafka:9092 -# ENV OS_NOTIFIER_URI=:8662 +ENV BROKER_URI kafka:9092 +ENV MONGO_URI mongo:27017 +ENV DATABASE sqlite:///mon_sqlite.db +ENV OS_NOTIFIER_URI localhost:8662 +ENV OS_DEFAULT_GRANULARITY 300 +ENV REQUEST_TIMEOUT 10 EXPOSE 8662