add GCS cache

This commit is contained in:
Diego Marangoni 2017-08-30 13:41:32 -03:00 committed by Will Norris
parent 0fe3656939
commit 4b637567e3
2 changed files with 6 additions and 0 deletions

View file

@ -102,6 +102,9 @@ enabled using the `-cache` flag. It supports the following values:
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.
- GCS URL (e.g. `gcs://bucket-name/optional-path-prefix`) - will cache
images on Google Cloud Storage. This requires `GCP_PRIVATE_KEY` environmental
parameters set.
For example, to cache files on disk in the `/tmp/imageproxy` directory: