filestore.rst 587 B

1234567891011121314151617181920212223242526272829
  1. File Storage
  2. ============
  3. Sentry provides an abstraction called 'filestore' which is used for
  4. storing files (such as release artifacts).
  5. The default backend stores files on the local disk in ``/tmp/sentry-files``
  6. which is not suitable for production use.
  7. File System Backend
  8. -------------------
  9. .. code-block:: yaml
  10. filestore.backend: 'filesystem'
  11. filestore.options:
  12. location: '/tmp/sentry-files'
  13. S3 Backend
  14. ----------
  15. .. code-block:: yaml
  16. filestore.backend: 's3'
  17. filestore.options:
  18. access_key: '...'
  19. secret_key: '...'
  20. bucket_name: '...'