add mem_limit for mount

This commit is contained in:
Chris Lu 2021-01-01 20:20:35 -08:00
parent 712563fbdd
commit 3fdf73e514

View file

@ -38,7 +38,8 @@ services:
privileged: true
cap_add:
- SYS_ADMIN
command: 'mount -filer="filer:8888" -dirAutoCreate -dir=/mnt/seaweedfs'
mem_limit: 4096m
command: '-v=4 mount -filer="filer:8888" -dirAutoCreate -dir=/mnt/seaweedfs -cacheCapacityMB=0 '
depends_on:
- master
- volume