Sign inSign up

ekreative/thumbor-gcloud

By ekreative

•Updated about 7 years ago

Image
0

1.3K

ekreative/thumbor-gcloud repository overview

⁠Thumbor Cloud Storage

.. code:: bash

    docker build -t ekreative/thumbor-gcloud .
    docker push ekreative/thumbor-gcloud

⁠Installation

.. code:: bash

    pip install thumbor-cloud-storage

Authentication


Authentication is handled by the Google Cloud SDK, see `gcloud
documentation <http://gcloud-python.readthedocs.io/en/latest/gcloud-auth.html>`__.

Contribution
------------

TODO

Features
--------

-  *thumbor\_cloud\_storage.loaders.cloud\_storage\_loader* - takes a
   bucket object path and downloads the file through the gcloud
   S3-compatible API.
-  *thumbor\_cloud\_storage.result\_storages.cloud\_storage*

Configuration
-------------

Loader settings

When using thumbor_cloud_storage.loaders.cloud_storage_loader:

.. code:: python

LOADER = 'thumbor_cloud_storage.loaders.cloud_storage_loader'
CLOUD_STORAGE_BUCKET_ID = ''
CLOUD_STORAGE_PROJECT_ID = ''

Result storage settings


When ``thumbor_cloud_storage.result_storages.cloud_storage`` is enabled:

.. code:: python

    RESULT_STORAGE = 'thumbor_cloud_storage.result_storages.cloud_storage'
    RESULT_STORAGE_CLOUD_STORAGE_PROJECT_ID = ''
    RESULT_STORAGE_CLOUD_STORAGE_BUCKET_ID = ''

Tag summary

Content type

Image

Digest

Size

487.6 MB

Last updated

about 7 years ago

docker pull ekreative/thumbor-gcloud