Software / code / prosody-modules
Annotate
mod_storage_s3/README.md @ 6217:8ecd53452af8
mod_push2: LMC stanzas are not important
| author | Stephen Paul Weber <singpolyma@singpolyma.net> |
|---|---|
| date | Tue, 25 Mar 2025 15:20:35 -0500 |
| parent | 6140:476717ab3cd9 |
| rev | line source |
|---|---|
| 5700 | 1 --- |
| 2 labels: | |
| 3 - 'Stage-Alpha' | |
| 4 summary: Cloud Native Storage | |
| 5 ... | |
| 6 | |
| 7 ::: {.alert .alert-danger} | |
| 8 This storage driver is fully async and requires that all storage access happens in an async-compatible context. As of 2023-10-14 this work in Prosody | |
| 9 is not yet complete. For now, this module is primarily suited for testing and finding areas where async work is incomplete. | |
| 10 ::: | |
| 11 | |
|
6140
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5700
diff
changeset
|
12 ::: {.alert .alert-danger} |
|
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5700
diff
changeset
|
13 The data layout in S3 is not final and may change at any point in incompatible ways. |
|
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5700
diff
changeset
|
14 ::: |
|
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5700
diff
changeset
|
15 |
| 5700 | 16 This module provides storage in Amazon S3 compatible things. It has been tested primarily with MinIO. |
| 17 | |
| 18 ``` lua | |
| 19 s3_bucket = "prosody" | |
| 20 s3_base_uri = "http://localhost:9000" | |
| 21 s3_region = "us-east-1" | |
| 22 s3_access_key = "YOUR-ACCESS-KEY-HERE" | |
| 23 s3_secret_key = "YOUR-SECRET-KEY-HERE" | |
| 24 ``` |