optimize entrypoint for docker

This commit is contained in:
Chris Lu
2020-03-22 18:35:45 -07:00
parent c16dc57a58
commit 3775211962
5 changed files with 13 additions and 30 deletions

View File

@@ -24,7 +24,7 @@ services:
ports:
- 8080:8080
- 18080:18080
command: '-v=2 volume -max=5 -mserver="master0:9333,master1:9334,master2:9335" -port=8080 -ip=volume'
command: 'volume -mserver="master0:9333,master1:9334,master2:9335" -port=8080 -ip=volume'
depends_on:
- master0
- master1
@@ -34,7 +34,7 @@ services:
ports:
- 8888:8888
- 18888:18888
command: '-v=4 filer -master="master0:9333,master1:9334,master2:9335"'
command: 'filer -master="master0:9333,master1:9334,master2:9335"'
depends_on:
- master0
- master1
@@ -44,7 +44,7 @@ services:
image: chrislusf/seaweedfs:local
ports:
- 8333:8333
command: '-v=4 s3 -filer="filer:8888"'
command: 's3 -filer="filer:8888"'
depends_on:
- master0
- master1