From bcd06304cc38b12ff9a275d300396800546e7df5 Mon Sep 17 00:00:00 2001 From: hans-strudle Date: Tue, 11 Sep 2018 16:05:27 -0700 Subject: [PATCH] changed filer.toml to leveldb, added comments in docker-compose --- docker/docker-compose.yml | 9 ++++++--- docker/filer.toml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 48c576a6f..6d6e9b140 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,7 +2,8 @@ version: '2' services: master: - build: . + #image: chrislusf/seaweedfs # use a remote image + build: . # build our container from the local Dockerfile ports: - 9333:9333 command: "master" @@ -11,7 +12,8 @@ services: aliases: - seaweed_master volume: - build: . + #image: chrislusf/seaweedfs # use a remote image + build: . # build our container from the local Dockerfile ports: - 8080:8080 command: 'volume -max=5 -mserver="master:9333" -port=8080' @@ -22,7 +24,8 @@ services: aliases: - seaweed_volume filer: - build: . + #image: chrislusf/seaweedfs # use a remote image + build: . # build our container from the local Dockerfile ports: - 8888:8888 command: 'filer -master="master:9333"' diff --git a/docker/filer.toml b/docker/filer.toml index 21db9c772..35db3d012 100644 --- a/docker/filer.toml +++ b/docker/filer.toml @@ -1,3 +1,3 @@ -[memory] +[leveldb] enabled = true dir = "."