Skip to content
This repository was archived by the owner on Mar 21, 2022. It is now read-only.

Commit 6d65b62

Browse files
toggle landscape dummy mode from via Docker environment variables
1 parent b355b1d commit 6d65b62

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

landscape/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM openjdk:8-alpine
22

3+
ENV DUMMY_MODE false
4+
35
RUN mkdir /explorviz
46
WORKDIR /explorviz
57
COPY build/libs/explorviz-landscape.jar .

landscape/prod-env-updater.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# sed -i "s#mongo.ip=.*#mongo.ip=$MONGO_IP#g" META-INF/explorviz-custom.properties
1+
# sed -i "s#mongo.ip=.*#mongo.ip=$MONGO_IP#g" META-INF/explorviz-custom.properties
2+
3+
sed -i "s#repository.useDummyMode=.*#repository.useDummyMode=$DUMMY_MODE#g" META-INF/explorviz-custom.properties

0 commit comments

Comments
 (0)