From: Benjamin Diaz Date: Mon, 8 Oct 2018 20:16:47 +0000 (-0300) Subject: Adds ENV declarations to MON Dockerfile and sets corresponding defaults X-Git-Tag: v5.0.0~58 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F6657%2F2;p=osm%2Fdevops.git Adds ENV declarations to MON Dockerfile and sets corresponding defaults MON enviromental variables were not declared in Dockerfile. It does not change functionality, but it clarifies the env vars that are needed by the module. The same change has been done in the source install Dockerfile in MON repo. Signed-off-by: Benjamin Diaz --- diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index 390c8dfd..ca3d64b8 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/Dockerfile @@ -47,9 +47,12 @@ 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