aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/docker-compose.yml9
-rw-r--r--docker/filer.toml2
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 = "."