From 034df70cf3e924bbca3ce5f5d64d3c673f7b9153 Mon Sep 17 00:00:00 2001 From: Benjamin Diaz Date: Mon, 8 Oct 2018 17:16:47 -0300 Subject: [PATCH] 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 --- docker/MON/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.25.1