mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-04-01 20:34:23 +02:00
7 lines
477 B
Markdown
7 lines
477 B
Markdown
|
# Serving files from Google Cloud Storage
|
||
|
|
||
|
imgproxy can process images from Google Cloud Storage buckets. To use this feature, do the following:
|
||
|
|
||
|
1. Set `IMGPROXY_GCS_KEY` environment variable to the content of Google Cloud JSON key. Get more info about JSON keys: [https://cloud.google.com/iam/docs/creating-managing-service-account-keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys);
|
||
|
2. Use `gs://%bucket_name/%file_key` as the source image URL.
|