Skip to content

Superbalist/thumbor_rackspace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thumbor Rackspace Adapters

Provides a Thumbor result storage adapter for Rackscpace that stores files in Rackspace.

Installing

Thumbor-Rackspace can be easily installed using pip install thumbor_rackspace.

Configuration

Use rackspace for result storage.

RESULT_STORAGE = 'thumbor_rackspace.result_storages.cloudfile_storage'

Pyrax Rackspace configuration file location

RACKSPACE_PYRAX_CFG = /var/thumbor/.pyrax.cfg RACKSPACE_PYRAX_IDENTITY_TYPE = "rackspace"

Result Storage options

RACKSPACE_RESULT_STORAGE_EXPIRES = True # Set TTL on cloudfile objects RACKSPACE_RESULT_STORAGES_CONTAINER = "cloudfile-container-name" RACKSPACE_RESULT_STORAGES_CONTAINER_ROOT = "/"

Use rackspace for object loader.

For more info on result storage: https://github.com/globocom/thumbor/wiki/Loader

LOADER = 'thumbor_rackspace.loaders.cloudfiles_loader'

Loader options

RACKSPACE_LOADER_CONTAINER = "cloudfile-container-name" RACKSPACE_LOADER_CONTAINER_ROOT = "/"

Since v.3

RACKSPACE_PYRAX_REGION = SYD RACKSPACE_PYRAX_PUBLIC = True

About

Rackspace adapters for thumbor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%