view mod_storage_mongodb.wiki @ 438:687c9f95c8ad

Edited wiki page mod_email_pass through web user interface.
author luisgf@gmail.com
date Thu, 13 Mar 2014 15:41:53 +0000
parents 469bcbdfe281
children b70f4ca106d5
line wrap: on
line source

#summary MongoDB Storage Module
#labels Type-Storage

= Introduction =

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

= 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 ||