mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
Update STORAGES example
This commit is contained in:
parent
95c201f416
commit
ac419312ae
|
|
@ -33,13 +33,20 @@
|
||||||
|
|
||||||
|
|
||||||
## By default uploaded media is stored on the local filesystem. Using Django-storages is also supported. Provide the
|
## By default uploaded media is stored on the local filesystem. Using Django-storages is also supported. Provide the
|
||||||
## class path of the storage driver in STORAGE_BACKEND and any configuration options in STORAGE_CONFIG. For example:
|
## class path of the storage driver and any configuration options in STORAGES. For example:
|
||||||
# STORAGE_BACKEND = 'storages.backends.s3boto3.S3Boto3Storage'
|
# STORAGES = {
|
||||||
# STORAGE_CONFIG = {
|
# 'default': {
|
||||||
# 'AWS_ACCESS_KEY_ID': 'Key ID',
|
# 'BACKEND': 'storages.backends.s3boto3.S3Boto3Storage',
|
||||||
# 'AWS_SECRET_ACCESS_KEY': 'Secret',
|
# 'OPTIONS': {
|
||||||
# 'AWS_STORAGE_BUCKET_NAME': 'netbox',
|
# 'access_key': 'Key ID',
|
||||||
# 'AWS_S3_REGION_NAME': 'eu-west-1',
|
# 'secret_key': 'Secret',
|
||||||
|
# 'bucket_name': 'netbox',
|
||||||
|
# 'region_name': 'us-west-1',
|
||||||
|
# }
|
||||||
|
# },
|
||||||
|
# 'staticfiles': {
|
||||||
|
# 'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage',
|
||||||
|
# }
|
||||||
# }
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue