Skip to content

Mongo DB in ASAB Maestro

Enables other services to connect to Mongo database. Parameters are also used by Mongo and SeaCat Auth sherpas.

Parameters

MONGO_HOSTNAMES

comma-separated instance ids of all Mongo instances

mongo-1,mongo-2,mongo-3

MONGO_URI

URI to all Mongo instances

mongodb://mongo-1,mongo-2,mongo-3/?replicaSet=rs0

MONGO_REPLICASET
is set to rs0

Configuration of ASAB Services

Every ASAB Service obtains mongo configuration section.

[mongo]
url=mongodb://mongo-1,mongo-2,mongo-3/?replicaSet=rs0