Mercurial > prosody-wiki
annotate mod_storage_mongodb.wiki @ 425:39acae387be7
Add page about mod_manifesto
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 Feb 2014 20:26:00 +0100 |
parents | 469bcbdfe281 |
children | b70f4ca106d5 |
rev | line source |
---|---|
245
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
1 #summary MongoDB Storage Module |
382
469bcbdfe281
mod_storage_ldap, mod_storage_mongodb: Add Type-Storage labels
Kim Alvefur <zash@zash.se>
parents:
245
diff
changeset
|
2 #labels Type-Storage |
245
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
3 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
4 = Introduction = |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
5 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
6 This is a storage backend that uses MongoDB. |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
7 Depends on [https://github.com/mwild1/luamongo luamongo bindings] |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
8 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
9 = Configuration = |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
10 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
11 Copy the module to the prosody modules/plugins directory. |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
12 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
13 In Prosody's configuration file, set: |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
14 {{{ |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
15 storage = "mongodb" |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
16 }}} |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
17 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
18 MongoDB options are: |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
19 || *Name* || *Description* || |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
20 || server || hostname:port || |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
21 || dbname || the database to use || |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
22 || username || your username for the given database || |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
23 || password || your password for the given database (either raw or pre-digested) || |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
24 || is_digest || whether the password field has been pre-digested || |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
25 |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
26 = Compatibility = |
2890500db303
Rename wiki page for mod_storage_mongo from mondo
james@chatid.com
parents:
diff
changeset
|
27 |
382
469bcbdfe281
mod_storage_ldap, mod_storage_mongodb: Add Type-Storage labels
Kim Alvefur <zash@zash.se>
parents:
245
diff
changeset
|
28 || trunk || Untested, but should work || |