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.

58 lines
1.4 KiB

  1. version: '2'
  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. - 8080:8080
  13. - 18080:18080
  14. command: "volume -mserver=master:9333 -port=8080 -ip=volume -preStopSeconds=1"
  15. depends_on:
  16. - master
  17. filer:
  18. image: chrislusf/seaweedfs:local
  19. ports:
  20. - 8888:8888
  21. - 18888:18888
  22. command: '-v=9 filer -master="master:9333"'
  23. restart: on-failure
  24. volumes:
  25. - ./notification.toml:/etc/seaweedfs/notification.toml
  26. depends_on:
  27. - master
  28. - volume
  29. - rabbitmq
  30. - replicate
  31. environment:
  32. RABBIT_SERVER_URL: "amqp://guest:guest@rabbitmq:5672/"
  33. replicate:
  34. image: chrislusf/seaweedfs:local
  35. command: '-v=9 filer.replicate'
  36. restart: on-failure
  37. volumes:
  38. - ./notification.toml:/etc/seaweedfs/notification.toml
  39. - ./replication.toml:/etc/seaweedfs/replication.toml
  40. depends_on:
  41. - rabbitmq
  42. environment:
  43. RABBIT_SERVER_URL: "amqp://guest:guest@rabbitmq:5672/"
  44. s3:
  45. image: chrislusf/seaweedfs:local
  46. ports:
  47. - 8333:8333
  48. command: 's3 -filer="filer:8888"'
  49. depends_on:
  50. - master
  51. - volume
  52. - filer
  53. rabbitmq:
  54. image: rabbitmq:3.8.10-management-alpine
  55. ports:
  56. - 5672:5672
  57. - 15671:15671
  58. - 15672:15672