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.

28 lines
714 B

  1. version: '2'
  2. services:
  3. server1:
  4. image: chrislusf/seaweedfs:local
  5. ports:
  6. - 9333:9333
  7. - 19333:19333
  8. - 8084:8080
  9. - 18084:18080
  10. - 8888:8888
  11. - 18888:18888
  12. command: "server -ip=server1 -filer -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"
  13. volumes:
  14. - ./master-cloud.toml:/etc/seaweedfs/master.toml
  15. depends_on:
  16. - server2
  17. server2:
  18. image: chrislusf/seaweedfs:local
  19. ports:
  20. - 9334:9333
  21. - 19334:19333
  22. - 8085:8080
  23. - 18085:18080
  24. - 8889:8888
  25. - 18889:18888
  26. - 8334:8333
  27. command: "server -ip=server2 -filer -s3 -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"