Browse Source

Merge pull request #2399 from whalelines/main

mongo: add security section
Tianon Gravi 2 years ago
parent
commit
86467a54f7
1 changed files with 5 additions and 1 deletions
  1. 5 1
      mongo/content.md

+ 5 - 1
mongo/content.md

@@ -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.