Created
October 13, 2016 03:19
-
-
Save nidhhoggr/4582fdcd57e3f257ba37cabe117912bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPLOAD_ENABLED = True | |
S3_USE_SIGV4 = True | |
LOADER = 'tc_aws.loaders.s3_loader' | |
STORAGE = 'tc_aws.storages.s3_storage' | |
RESULT_STORAGE = 'tc_aws.result_storages.s3_storage' | |
RESULT_STORAGE_STORES_UNSAFE = True | |
UPLOAD_PHOTO_STORAGE = 'tc_aws.storages.s3_storage' | |
TC_AWS_REGION='us-east-1' # AWS Region | |
TC_AWS_STORAGE_BUCKET='thumborbucket' # S3 bucket for Storage | |
TC_AWS_STORAGE_ROOT_PATH='storage' # S3 path prefix for Storage bucket | |
TC_AWS_LOADER_BUCKET='thumborbucket' #S3 bucket for loader | |
TC_AWS_LOADER_ROOT_PATH='loader' # S3 path prefix for Loader bucket | |
TC_AWS_RESULT_STORAGE_BUCKET='thumborbucket' # S3 bucket for result Storage | |
TC_AWS_RESULT_STORAGE_ROOT_PATH='result' # S3 path prefix for Result storage bucket | |
# put data into S3 using the Server Side Encryption functionality to | |
# encrypt data at rest in S3 | |
# https://aws.amazon.com/about-aws/whats-new/2011/10/04/amazon-s3-announces-server-side-encryption-support/ | |
TC_AWS_STORAGE_SSE=False | |
# put data into S3 with Reduced Redundancy | |
# https://aws.amazon.com/about-aws/whats-new/2010/05/19/announcing-amazon-s3-reduced-redundancy-storage/ | |
TC_AWS_STORAGE_RRS=False | |
# Enable HTTP Loader as well? | |
# This would allow you to load watermarks in over your images dynamically through a URI | |
# E.g. | |
# http://your-thumbor.com/unsafe/filters:watermark(http://example.com/watermark.png,0,0,50)/s3_bucket/photo.jpg | |
TC_AWS_ENABLE_HTTP_LOADER=False | |
search hit BOTTOM, continuing at TOP | |
TC_AWS_RESULT_STORAGE_ROOT_PATH='result' # S3 path prefix for Result storage bucket | |
# put data into S3 using the Server Side Encryption functionality to | |
# encrypt data at rest in S3 | |
# https://aws.amazon.com/about-aws/whats-new/2011/10/04/amazon-s3-announces-server-side-encryption-support/ | |
TC_AWS_STORAGE_SSE=False | |
# put data into S3 with Reduced Redundancy | |
# https://aws.amazon.com/about-aws/whats-new/2010/05/19/announcing-amazon-s3-reduced-redundancy-storage/ | |
TC_AWS_STORAGE_RRS=False | |
# Enable HTTP Loader as well? | |
# This would allow you to load watermarks in over your images dynamically through a URI | |
# E.g. | |
# http://your-thumbor.com/unsafe/filters:watermark(http://example.com/watermark.png,0,0,50)/s3_bucket/photo.jpg | |
TC_AWS_ENABLE_HTTP_LOADER=False | |
TC_AWS_ALLOWED_BUCKETS=False # List of allowed bucket to be requested | |
TC_AWS_STORE_METADATA=False # Store result with metadata (for instance content-type) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment