Connecting to an existing MongoDB databaseΒΆ

If you already have a MongoDB server running, you can connect to it by setting the MONGO_URL configuration variable:

anaconda-server-config --set MONGO_URL 'mongodb://<hostname>'

For more information, see the MongoDB Connection String URI Format manual.

See also Configuring MongoDB authentication.