Merge pull request #12357 from ninjadq/add_env_for_aws

Fix Amazon S3 storage not work
This commit is contained in:
Wenkai Yin(尹文开) 2020-07-01 11:10:47 +08:00 committed by GitHub
commit 1d03b8727a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,11 @@ DEPTH=1
# Backend storage driver: e.g. "local", "amazon", "google" etc. # Backend storage driver: e.g. "local", "amazon", "google" etc.
STORAGE={{storage_driver}} STORAGE={{storage_driver}}
{% if storage_driver == "amazon" %}
AWS_SDK_LOAD_CONFIG=1
{% endif %}
# Storage driver settings # Storage driver settings
{{all_storage_driver_configs}} {{all_storage_driver_configs}}
## Settings with default values. Just put here for future changes ## Settings with default values. Just put here for future changes
DEBUG=false DEBUG=false
LOG_JSON=true LOG_JSON=true