Merge pull request #2399 from whalelines/main

mongo: add security section
This commit is contained in:
Tianon Gravi 2023-12-20 09:55:13 -08:00 committed by GitHub
commit 86467a54f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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%% %%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 # How to use this image
## Start a `%%REPO%%` server instance ## Start a `%%REPO%%` server instance
@ -46,7 +50,7 @@ The MongoDB Server log is available through Docker's container log:
$ docker logs some-%%REPO%% $ 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. See the [MongoDB manual](https://docs.mongodb.com/manual/) for information on using and configuring MongoDB for things like replica sets and sharding.