diff options
author | Dave Arter <davea@mysociety.org> | 2018-09-19 17:40:07 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-09-28 16:19:47 +0100 |
commit | 64cb4e23433b9fb7862f763e1819b6ac3318c3e6 (patch) | |
tree | 72fcad96068a4997fa23a670c6ec97d393334302 /conf | |
parent | ec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff) |
Factor out photo storage into PhotoStorage::FileSystem backend
Diffstat (limited to 'conf')
-rw-r--r-- | conf/general.yml-example | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example index 1f85b6fe7..11fe654ff 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -68,11 +68,24 @@ LANGUAGES: # from the server, you can set the time zone here (standard time zone string) TIME_ZONE: "" -# File locations for uploaded photos and cached geocoding results. -# Absolute paths, or relative to the project's root directory -UPLOAD_DIR: '../upload/' +# File locations for cached geocoding results. GEO_CACHE: '../cache/' +# Photo storage options. +# Which storage backend to use. Options are 'FileSystem' and 'S3'. +PHOTO_STORAGE_BACKEND: 'FileSystem' + +# FileSystem-specific options +PHOTO_STORAGE_OPTIONS: + # Where uploaded photos will be stored + UPLOAD_DIR: '../upload/' + +# If using the S3 backend, you'll need to set the following options instead: +#PHOTO_STORAGE_OPTIONS: +# BUCKET: 'fixmystreet-photos' +# ACCESS_KEY: '' +# SECRET_KEY: '' + # Location of MapIt, to map points to administrative areas, and what types of # area from it you want to use. If left blank, a default area will be used # everywhere (a URL needs to be given for non-web things, like sending of |