Browse Source

use /data for filer

pull/809/head
Chris Lu 6 years ago
parent
commit
469afddc80
  1. 1
      docker/entrypoint.sh
  2. 2
      docker/filer.toml

1
docker/entrypoint.sh

@ -29,7 +29,6 @@ case "$1" in
;; ;;
'filer') 'filer')
exec mkdir /data/filerdb
ARGS="-ip `hostname -i` " ARGS="-ip `hostname -i` "
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT" ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"

2
docker/filer.toml

@ -1,3 +1,3 @@
[leveldb] [leveldb]
enabled = true enabled = true
dir = "/data/filerdb"
dir = "/data"
Loading…
Cancel
Save