Browse Source

add mem_limit for mount

pull/1727/head
Chris Lu 4 years ago
parent
commit
3fdf73e514
  1. 3
      docker/local-dev-compose.yml

3
docker/local-dev-compose.yml

@ -38,7 +38,8 @@ services:
privileged: true privileged: true
cap_add: cap_add:
- SYS_ADMIN - 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: depends_on:
- master - master
- volume - volume

Loading…
Cancel
Save