Use env var to set AWS_S3_ENDPOINT_URL setting

This commit is contained in:
Kyle Lacy 2023-04-17 14:07:00 -07:00
parent 792162ae66
commit ca2366aa9b
No known key found for this signature in database
GPG Key ID: 82616D2392FB6605

View File

@ -105,7 +105,7 @@ if (
AWS_S3_ADDRESSING_STYLE = "auto"
# The full URL to the S3 endpoint. Leave blank to use the default region URL.
AWS_S3_ENDPOINT_URL = ""
AWS_S3_ENDPOINT_URL = os.environ.get("AWS_S3_ENDPOINT_URL", "")
# A prefix to be applied to every stored file. This will be joined to every filename using the "/" separator.
AWS_S3_KEY_PREFIX = ""