Configure Mongoid

Workarea automatically configures Mongoid for you with the recommended settings. No further action is required. However, settings provided in config/mongoid.yml will override the default Workarea configuration. Doing this is discouraged.

You can configure hosts using WORKAREA_MONGOID_HOST_* environment variables. This is how the hosting team configures the app. You can add as many hosts as desired, just be sure to end the environment variable names with digits, e.g. WORKAREA_MONGOID_HOST_0, WORKAREA_MONGOID_HOST_1, WORKAREA_MONGOID_HOST_2, etc.

The default host is localhost:27017.