mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
changed filer.toml to leveldb, added comments in docker-compose
This commit is contained in:
parent
47b2e49068
commit
bcd06304cc
|
@ -2,7 +2,8 @@ version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
master:
|
master:
|
||||||
build: .
|
#image: chrislusf/seaweedfs # use a remote image
|
||||||
|
build: . # build our container from the local Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 9333:9333
|
- 9333:9333
|
||||||
command: "master"
|
command: "master"
|
||||||
|
@ -11,7 +12,8 @@ services:
|
||||||
aliases:
|
aliases:
|
||||||
- seaweed_master
|
- seaweed_master
|
||||||
volume:
|
volume:
|
||||||
build: .
|
#image: chrislusf/seaweedfs # use a remote image
|
||||||
|
build: . # build our container from the local Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
command: 'volume -max=5 -mserver="master:9333" -port=8080'
|
command: 'volume -max=5 -mserver="master:9333" -port=8080'
|
||||||
|
@ -22,7 +24,8 @@ services:
|
||||||
aliases:
|
aliases:
|
||||||
- seaweed_volume
|
- seaweed_volume
|
||||||
filer:
|
filer:
|
||||||
build: .
|
#image: chrislusf/seaweedfs # use a remote image
|
||||||
|
build: . # build our container from the local Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 8888:8888
|
- 8888:8888
|
||||||
command: 'filer -master="master:9333"'
|
command: 'filer -master="master:9333"'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[memory]
|
[leveldb]
|
||||||
enabled = true
|
enabled = true
|
||||||
dir = "."
|
dir = "."
|
||||||
|
|
Loading…
Reference in a new issue