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.

43 lines
1.0 KiB

  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. - 8080:8080
  13. - 18080:18080
  14. command: "volume -mserver=master:9333 -port=8080 -ip=volume"
  15. depends_on:
  16. - master
  17. s3:
  18. image: chrislusf/seaweedfs:local
  19. ports:
  20. - 8888:8888
  21. - 18888:18888
  22. - 8333:8333
  23. command: '-v 9 filer -master="master:9333" -s3'
  24. depends_on:
  25. - master
  26. - volume
  27. nextcloud:
  28. image: nextcloud:23.0.5-apache
  29. environment:
  30. - OBJECTSTORE_S3_HOST=s3
  31. - OBJECTSTORE_S3_BUCKET=nextcloud
  32. - OBJECTSTORE_S3_KEY=some_access_key1
  33. - OBJECTSTORE_S3_SECRET=some_secret_key1
  34. - OBJECTSTORE_S3_PORT=8333
  35. - OBJECTSTORE_S3_SSL=false
  36. - OBJECTSTORE_S3_USEPATH_STYLE=true
  37. - SQLITE_DATABASE=nextcloud
  38. - NEXTCLOUD_ADMIN_USER=admin
  39. - NEXTCLOUD_ADMIN_PASSWORD=admin
  40. ports:
  41. - 80:80
  42. depends_on:
  43. - s3