-
Notifications
You must be signed in to change notification settings - Fork 170
Add support to nextcloud image to use an S3 bucket as primary storage #224
base: master
Are you sure you want to change the base?
Add support to nextcloud image to use an S3 bucket as primary storage #224
Conversation
I actually got this working and it seems like a useful feature |
This is awesome. How would I get this working in an EC2 Ubuntu server instance? If there is something that can be added to the config.php to enable S3 storage, that would be awesome. I know there is a way to set up "External Storage" and add S3 -- but I am trying to have the NC_DATA directory for the normal files stored in S3; instead of within in the server. Thanks @rendhalver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add documentation, then I'll merge. 😉
dd45435
to
e7bcc6b
Compare
@Wonderfall Basic docs added. |
'key' => '${DATASTORE_KEY}', | ||
'secret' => '${DATASTORE_SECRET}', | ||
'hostname' => '${DATASTORE_HOST}', | ||
'use_ssl' => true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duped key here, use_ssl
is defined below again.
nextcloud/README.md
Outdated
- **DATASTORE_KEY** : S3 Key for about bucket *(default : none)* | ||
- **DATASTORE_SECRET** : S3 secret for about bucket *(default : none)* | ||
- **DATASTORE_HOST** : S3 host for above bucket *(default : none)* | ||
- **DATASTORE_PORT** : S3 port for above bucket *(default : 443)* | ||
Don't forget to use a **strong password** for the admin account! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to add DATASTORE_USE_PATH_STYLE
with default as false
, since AWS buckets currently don't use path style. Path style tends to be for very specific 3rd party implementations of S3.
5250441
to
107262d
Compare
107262d
to
a047b8f
Compare
Let's try that again.