|
|
@ -12,7 +12,7 @@ services: |
|
|
|
ports: |
|
|
|
- 8080:8080 |
|
|
|
- 18080:18080 |
|
|
|
command: "volume -mserver=master:9333 -port=8080 -ip=volume" |
|
|
|
command: "volume -mserver=master:9333 -port=8080 -ip=volume -preStopSeconds=1" |
|
|
|
depends_on: |
|
|
|
- master |
|
|
|
filer: |
|
|
@ -33,3 +33,13 @@ services: |
|
|
|
- master |
|
|
|
- volume |
|
|
|
- filer |
|
|
|
mount: |
|
|
|
image: chrislusf/seaweedfs:local |
|
|
|
privileged: true |
|
|
|
cap_add: |
|
|
|
- SYS_ADMIN |
|
|
|
command: 'mount -filer="filer:8888" -dirAutoCreate -dir=/mnt/seaweedfs' |
|
|
|
depends_on: |
|
|
|
- master |
|
|
|
- volume |
|
|
|
- filer |