Diff

mod_storage_mongodb/README.md @ 6211:750d64c47ec6 draft default tip

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:31:36 +0700
parent 6003:fe081789f7b5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_storage_mongodb/README.md	Tue Mar 18 00:31:36 2025 +0700
@@ -0,0 +1,41 @@
+---
+labels:
+- 'Type-Storage'
+- 'Stage-Alpha'
+summary: MongoDB Storage Module
+...
+
+Introduction
+============
+
+This is a storage backend that uses MongoDB. Depends on [luamongo
+bindings](https://github.com/mwild1/luamongo)
+
+This module is not under active development and has a number of issues
+related to limitations in MongoDB. It is not suitable for production
+use.
+
+Configuration
+=============
+
+Copy the module to the prosody modules/plugins directory.
+
+In Prosody's configuration file, set:
+
+    storage = "mongodb"
+
+MongoDB options are:
+
+  Name         Description
+  ------------ -------------------------------------------------------------------
+  server       hostname:port
+  username     your username for the given database
+  password     your password for the given database (either raw or pre-digested)
+  is\_digest   whether the password field has been pre-digested
+
+Compatibility
+=============
+
+  ------- ---------------------------
+  trunk   Untested, but should work
+  ------- ---------------------------