mongo: add security section

Closes docker-library/mongo#656.
This commit is contained in:
David Dooling 2023-12-20 11:30:22 -06:00
parent 678fac9423
commit f521ebca56
No known key found for this signature in database
GPG Key ID: D040090BA3782BE0
1 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@ First developed by the software company 10gen (now MongoDB Inc.) in October 2007
%%LOGO%%
# Security
By default Mongo's configuration requires no authentication for access, even for the administrative user. See the "`MONGO_INITDB_ROOT_USERNAME`, `MONGO_INITDB_ROOT_PASSWORD`" section below for information on how to begin securing Mongo and the [MongoDB Security documentation](https://www.mongodb.com/docs/manual/security/) for more detail.
# How to use this image
## Start a `%%REPO%%` server instance
@ -46,7 +50,7 @@ The MongoDB Server log is available through Docker's container log:
$ docker logs some-%%REPO%%
```
## Configuration
# Configuration
See the [MongoDB manual](https://docs.mongodb.com/manual/) for information on using and configuring MongoDB for things like replica sets and sharding.