local-nextcloud-compose.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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