for openprocurement.documentservice
- Full support of openprocurement.documentservice api
- Stores uploads by hash, don't used extra disk space for same uploads
- Secure file ids based on secret_key and double hashing
- Restrict uploads by file extension, mime/type, hash lists
- Custom
Content-Disposition
header (inline or attachment) - Can patch openprocurement.documentservice get_url expire time
- File storage can be distributed to several volumes (up to 65k shards)
- Archive selected files to the separate volume by meta info
- Master/slave replicas support (master/master also can be used)
- Fast download through nginx X-Accel-Redirect feature
All settings are prefixed with files.*
See example in openprocurement/storage/files/tests/tests.ini
© 2020 Volodymyr Flonts
Apache 2.0