Mercurial > prosody-modules
annotate mod_storage_s3/README.md @ 6556:7477e97a9045
mod_firewall: Apply pre-reload state before re-reading config
This change makes load/reload a bit more robust. module.load() runs before
module.restore() and it reads from the config and updates the state (if
needed).
However, after this, module.restore() could run and apply the old state again.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 24 May 2026 20:03:20 +0100 |
| parents | 476717ab3cd9 |
| children |
| rev | line source |
|---|---|
| 5677 | 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 | |
|
6112
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5677
diff
changeset
|
12 ::: {.alert .alert-danger} |
|
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5677
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:
5677
diff
changeset
|
14 ::: |
|
476717ab3cd9
mod_storage_s3: Note about data format change
Kim Alvefur <zash@zash.se>
parents:
5677
diff
changeset
|
15 |
| 5677 | 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 ``` |
