close

Filter

loading table of contents...

Operations Basics / Version 2107

Table Of Contents

4.5.2 Deployment

The default deployment of CoreMedia's collaborative components is with a MongoDB database. When deployed with a MongoDB database, configure the collaborative components to connect to your MongoDB instance using the configuration properties given below.

Property Example Description
mongodb.client-uri mongodb://<Username>:<Password>@<Host>:<Port>/ The URL of the MongoDB to connect to. Replace <Username>, <Password>, <Host> and <Port> with the appropriate values of the MongoDB installation. Add this property to the WEB-INF/application.properties file of Studio, User Changes and Workflow Server applications, and let it point to your MongoDB.
mongodb.prefix <prefix> When the collaborative components persist collaboration data to a MongoDB database, the default name of its database is prefixed by blueprint. To configure a different database name prefix, add this property to WEB-INF/application.properties files of Studio, User Changes and Workflow Server web applications.

Table 4.8. Properties for persistence of collaboration data to MongoDB


MongoDB Authentication

MongoDB authentication is enabled on deployment level and the user coremedia/coremedia is created by default.

Authentication is performed against the admin database. Example:

use admin
db.auth('coremedia','coremedia')

The default mongodb.client-uri is configured with credentials, for example

mongodb.client-uri=mongodb://coremedia:coremedia@${installation.host}:27017

For development with a MongoDB without authentication, either remove the credentials prefix from the mongodb.client-uri property or create a user with:

use admin
db.createUser({user: 'coremedia', pwd: 'coremedia', roles: ['userAdminAnyDatabase', 'dbAdminAnyDatabase', 'readWriteAnyDatabase']});

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.