Documentation about docker setup

Good morning,

I’m planning to host my own MongoDB server instance, initially for local development purposes. Later, we will decide whether to use a managed service or host the system ourselves. However, I currently lack the expertise in this area.

Regarding the Docker installation, I’ve found the documentation to be somewhat limited: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-community-with-docker/

Is there more comprehensive documentation available on the Docker installation process? I have several questions at this point:

  • What does the mongodb/mongodb-community-server image include in the configuration provided in the documentation? Does it include a Configuration Server, Mongos server, Shard Server, or everything at once?
  • How can I configure the installation? For example, I want to set a username and password for my application to connect to the database. Where can I specify these settings in my Docker setup?

I would appreciate any assistance.

Thank you.