Mercurial > prosody-wiki
comparison mod_storage_mongodb.wiki @ 245:2890500db303
Rename wiki page for mod_storage_mongo from mondo
author | james@chatid.com |
---|---|
date | Mon, 12 Dec 2011 10:50:10 +0000 |
parents | |
children | 469bcbdfe281 |
comparison
equal
deleted
inserted
replaced
244:b3765cdb67bc | 245:2890500db303 |
---|---|
1 #summary MongoDB Storage Module | |
2 | |
3 = Introduction = | |
4 | |
5 This is a storage backend that uses MongoDB. | |
6 Depends on [https://github.com/mwild1/luamongo luamongo bindings] | |
7 | |
8 = Configuration = | |
9 | |
10 Copy the module to the prosody modules/plugins directory. | |
11 | |
12 In Prosody's configuration file, set: | |
13 {{{ | |
14 storage = "mongodb" | |
15 }}} | |
16 | |
17 MongoDB options are: | |
18 || *Name* || *Description* || | |
19 || server || hostname:port || | |
20 || dbname || the database to use || | |
21 || username || your username for the given database || | |
22 || password || your password for the given database (either raw or pre-digested) || | |
23 || is_digest || whether the password field has been pre-digested || | |
24 | |
25 = Compatibility = | |
26 | |
27 || trunk || Untested, but should work || |