Skip to content
This repository was archived by the owner on Oct 15, 2023. It is now read-only.

Commit 371db7d

Browse files
Use default JanusGraph Server config file
This ensures that we are using the default settings from the distribution and only apply custom settings specifically for the Docker image on top of that. Right now, this will change the graph manager to `JanusGraphManager` which helps with JanusGraph/janusgraph#2822 and JanusGraph/janusgraph#3644. Fixes #113 Signed-off-by: Florian Hockmann <[email protected]>
1 parent 2796199 commit 371db7d

8 files changed

+4
-162
lines changed

0.6/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN apt update -y && apt install -y gpg unzip curl && \
4141
rm -rf ${JANUS_HOME}/log && \
4242
rm -rf ${JANUS_HOME}/examples && \
4343
rm -rf ${JANUS_HOME}/conf/janusgraph-*.properties && \
44+
mv ${JANUS_HOME}/conf/gremlin-server/gremlin-server.yaml ${JANUS_HOME}/conf/janusgraph-server.yaml && \
4445
rm -rf ${JANUS_HOME}/conf/gremlin-server
4546

4647
COPY conf/ ${JANUS_HOME}/conf/

0.6/conf/janusgraph-server.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

1.0/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN apt update -y && apt install -y gpg unzip curl && \
4141
rm -rf ${JANUS_HOME}/log && \
4242
rm -rf ${JANUS_HOME}/examples && \
4343
rm -rf ${JANUS_HOME}/conf/janusgraph-*.properties && \
44+
mv ${JANUS_HOME}/conf/gremlin-server/gremlin-server.yaml ${JANUS_HOME}/conf/janusgraph-server.yaml && \
4445
rm -rf ${JANUS_HOME}/conf/gremlin-server
4546

4647
COPY conf/ ${JANUS_HOME}/conf/

1.0/conf/janusgraph-server.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

build/Dockerfile-openjdk11.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN apt update -y && apt install -y gpg unzip curl && \
3737
rm -rf ${JANUS_HOME}/log && \
3838
rm -rf ${JANUS_HOME}/examples && \
3939
rm -rf ${JANUS_HOME}/conf/janusgraph-*.properties && \
40+
mv ${JANUS_HOME}/conf/gremlin-server/gremlin-server.yaml ${JANUS_HOME}/conf/janusgraph-server.yaml && \
4041
rm -rf ${JANUS_HOME}/conf/gremlin-server
4142

4243
COPY conf/ ${JANUS_HOME}/conf/

build/Dockerfile-openjdk8.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN apt update -y && apt install -y gpg unzip curl && \
3737
rm -rf ${JANUS_HOME}/log && \
3838
rm -rf ${JANUS_HOME}/examples && \
3939
rm -rf ${JANUS_HOME}/conf/janusgraph-*.properties && \
40+
mv ${JANUS_HOME}/conf/gremlin-server/gremlin-server.yaml ${JANUS_HOME}/conf/janusgraph-server.yaml && \
4041
rm -rf ${JANUS_HOME}/conf/gremlin-server
4142

4243
COPY conf/ ${JANUS_HOME}/conf/

build/conf/janusgraph-server.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

update.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ for version in "${versions[@]}"; do
9191
awk 'NR>1' build/load-initdb.sh >> $dir/load-initdb.sh
9292

9393
# copy resources
94-
copy-with-template-generated-warning conf/janusgraph-server.yaml "#"
9594
copy-with-template-generated-warning conf/janusgraph-berkeleyje-es-server.properties "#"
9695
copy-with-template-generated-warning conf/janusgraph-berkeleyje-lucene-server.properties "#"
9796
copy-with-template-generated-warning conf/janusgraph-berkeleyje-server.properties "#"

0 commit comments

Comments
 (0)