local-mount-profile-compose.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. version: '3.9'
  2. services:
  3. master:
  4. image: chrislusf/seaweedfs:local
  5. ports:
  6. - 9333:9333
  7. - 19333:19333
  8. command: "master -ip=master"
  9. volume:
  10. image: chrislusf/seaweedfs:local
  11. ports:
  12. - 7455:8080
  13. - 9325:9325
  14. volumes:
  15. - /Volumes/mobile_disk/99:/data
  16. command: 'volume -mserver="master:9333" -port=8080 -metricsPort=9325 -preStopSeconds=1 -publicUrl=localhost:7455'
  17. depends_on:
  18. - master
  19. filer:
  20. image: chrislusf/seaweedfs:local
  21. ports:
  22. - 8888:8888
  23. - 18888:18888
  24. - 9326:9326
  25. volumes:
  26. - /Volumes/mobile_disk/99:/data
  27. command: 'filer -master="master:9333" -metricsPort=9326'
  28. tty: true
  29. stdin_open: true
  30. depends_on:
  31. - master
  32. - volume
  33. mount:
  34. image: chrislusf/seaweedfs:local
  35. privileged: true
  36. cap_add:
  37. - SYS_ADMIN
  38. devices:
  39. - fuse
  40. volumes:
  41. - /Volumes/mobile_disk/99:/data
  42. entrypoint: '/bin/sh -c "mkdir -p t1 && weed -v=4 mount -filer=filer:8888 -dir=./t1 -cacheCapacityMB=0 -memprofile=/data/mount.mem.pprof"'
  43. depends_on:
  44. - master
  45. - volume
  46. - filer