eXo Chat uses MongoDB database which should be configured via
More details in chat configuration.To configure MongoDB database for eXo Chat, you should set these parameters in one of the files cited above:
dbServerType: Default value is mongo which is the value that should be used.
dbServerHost: The host of MongoDB database.
dbServerPort: The port with which you will connect to MongoDB.
dbServerHosts: The MongoDB nodes to connect to, as a comma-separated list of
For example "host1:27017,host2:27017,host3:27017".
dbName: The name of the MongoDB database for eXo Chat.
dbAuthentication: Set to true if authentication is needed to access to MongoDB.
dbUser: The username with which you should connect of the previous value is set to true.
dbPassword: The password for authentication.
dbServerHost are deprecated and should be replaced by the parameter
By default, eXo Chat uses a none-authorization database connection. For production environments, it is highly recommended to secure chat database. For that purpose, refer to this section Secure MongoDB.