243
|
1 #summary MondoDB Storage Module |
|
2 #labels storage |
|
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 = Configuration = |
|
10 |
|
11 Copy the module to the prosody modules/plugins directory. |
|
12 |
|
13 In Prosody's configuration file, set: |
|
14 {{{ |
|
15 storage = "mongodb" |
|
16 }}} |
|
17 |
|
18 MongoDB options are: |
|
19 || *Name* || *Description* || |
|
20 || server || hostname:port || |
|
21 || dbname || the database to use || |
|
22 || username || your username for the given database || |
|
23 || password || your password for the given database (either raw or pre-digested) || |
|
24 || is_digest || whether the password field has been pre-digested || |
|
25 |
|
26 = Compatibility = |
|
27 |
|
28 || trunk || Untested, but should work || |