Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now for de yaml, copy the next template as the base:

Code Block
isolation#isolation-level: TENANT
#isolationisolation-level: VERTICAL
databases:
    mongodb:
      map:
        default: mongodb://localhost<username>:<password>@localhost:27017/
        sandbox: mongodb://localhost<username>:<password>@localhost:27017/
        production: mongodb://localhost<username>:<password>@localhost:27018/
        atlas: mongodb+srv://onesait:onesait@cluster0.wgdjl.gcp.mongodb.net/?retryWrites=true&w=majority
    #mongodb:
        #default: localhost:27017
        #onesaitplatform: localhost:27017
        #data_portal: localhost:27018
    

The isolation-level can be either TENANT or VERTICAL. If TENANT mode is enabled, then MongoDB server mapping will be done at tenant level. On the other hand, if VERTICAL mode is enabled, then servers will be mapped by vertical.

...