Skip to content

Commit

Permalink
add init log in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
aroundabout committed Jan 24, 2024
1 parent ae33076 commit 31dd8c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ if [ ! -f "${DOCKER_FOLDER}/${INIT_FLAG_FILE}" ]; then
# wait for storage backend
./bin/wait-storage.sh
if [ -z "$PASSWORD" ]; then
echo "init hugegraph with non-auth mode"
./bin/init-store.sh
else
echo "init hugegraph with auth"
echo "init hugegraph with auth mode"
./bin/enable-auth.sh
echo "$PASSWORD" | ./bin/init-store.sh
fi
Expand Down

0 comments on commit 31dd8c6

Please sign in to comment.