mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-30 23:36:24 +02:00
using s3 as caching store
This commit is contained in:
parent
f67209437a
commit
ec96fcbc90
2 changed files with 8 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ enabled using the `-cache` flag. It supports the following values:
|
|||
available memory and is not recommended for production systems)
|
||||
- directory on local disk (e.g. `/tmp/imageproxy`) - will cache images
|
||||
on disk, limited to the size specified in the `-cacheSize` flag.
|
||||
- s3 URL (e.g. `s3://s3-us-west-2.amazonaws.com/my-bucket`) - will cache
|
||||
images on Amazon S3. This requires either an IAM role and instance profile
|
||||
with access to your your bucket or `AWS_ACCESS_KEY_ID` and `AWS_SECRET_KEY`
|
||||
environmental parameters set.
|
||||
|
||||
For example, to cache files on disk, allowing up to 100MB of space:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue