mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01:00
Merge pull request #12357 from ninjadq/add_env_for_aws
Fix Amazon S3 storage not work
This commit is contained in:
commit
1d03b8727a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user