From fe3805d1cb108e474e16f74d99d71cd3f746ee7c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 27 Dec 2018 14:29:34 -0800 Subject: [PATCH] Revert "use /data for filer" This reverts commit 469afddc80ce7af45e2415c21798bbd3f41cd599. --- docker/entrypoint.sh | 1 + docker/filer.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 660e51766..7a2b60623 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -29,6 +29,7 @@ case "$1" in ;; 'filer') + exec mkdir /data/filerdb ARGS="-ip `hostname -i` " if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT" diff --git a/docker/filer.toml b/docker/filer.toml index 566a447c5..5bf809cd8 100644 --- a/docker/filer.toml +++ b/docker/filer.toml @@ -1,3 +1,3 @@ [leveldb] enabled = true -dir = "/data" +dir = "/data/filerdb"