You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
622 B

  1. version: '3.9'
  2. services:
  3. node1:
  4. image: chrislusf/seaweedfs:local
  5. command: "server -master -volume -filer"
  6. mount1:
  7. image: chrislusf/seaweedfs:local
  8. privileged: true
  9. command: "mount -filer=node1:8888 -dir=/mnt -dirAutoCreate"
  10. node2:
  11. image: chrislusf/seaweedfs:local
  12. ports:
  13. - 7888:8888
  14. command: "server -master -volume -filer"
  15. mount2:
  16. image: chrislusf/seaweedfs:local
  17. privileged: true
  18. command: "mount -filer=node2:8888 -dir=/mnt -dirAutoCreate"
  19. sync:
  20. image: chrislusf/seaweedfs:local
  21. command: "-v=4 filer.sync -a=node1:8888 -b=node2:8888 -a.debug -b.debug"