view mod_storage_mongodb.wiki @ 247:012884e6ba5d

edited wiki to reflect changes.
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 20 Dec 2011 20:29:32 +0000
parents 2890500db303
children 469bcbdfe281
line wrap: on
line source

#summary MongoDB Storage Module

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