view mod_storage_mongodb/README.wiki @ 1796:1e9a06caa866

mod_blocking: Import datamanager (thanks kriztan)
author Kim Alvefur <zash@zash.se>
date Thu, 27 Aug 2015 12:31:47 +0200
parents 29f3d6b7ad16
children
line wrap: on
line source

#summary MongoDB Storage Module
#labels Type-Storage,Stage-Alpha

= Introduction =

This is a storage backend that uses MongoDB.
Depends on [https://github.com/mwild1/luamongo luamongo bindings]

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                                                     ||
|| dbname    || the database to use                                               ||
|| 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 ||