mod_storage_mongodb/README.wiki
changeset 1786 29f3d6b7ad16
equal deleted inserted replaced
1785:12ac88940fe3 1786:29f3d6b7ad16
       
     1 #summary MongoDB Storage Module
       
     2 #labels Type-Storage,Stage-Alpha
       
     3 
       
     4 = Introduction =
       
     5 
       
     6 This is a storage backend that uses MongoDB.
       
     7 Depends on [https://github.com/mwild1/luamongo luamongo bindings]
       
     8 
       
     9 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.
       
    10 
       
    11 = Configuration =
       
    12 
       
    13 Copy the module to the prosody modules/plugins directory.
       
    14 
       
    15 In Prosody's configuration file, set:
       
    16 {{{
       
    17     storage = "mongodb"
       
    18 }}}
       
    19 
       
    20 MongoDB options are:
       
    21 || *Name*    || *Description*                                                     ||
       
    22 || server    || hostname:port                                                     ||
       
    23 || dbname    || the database to use                                               ||
       
    24 || username  || your username for the given database                              ||
       
    25 || password  || your password for the given database (either raw or pre-digested) ||
       
    26 || is_digest || whether the password field has been pre-digested                  ||
       
    27 
       
    28 = Compatibility =
       
    29 
       
    30 || trunk || Untested, but should work ||