[SERVER-73459] Add environment variable aliases in the new MongoDB docker images Created: 30/Jan/23 Updated: 29/Oct/23 Resolved: 27/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Joel Lord | Assignee: | Ryan Egesdahl (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
In the original `mongo` image maintained by Docker, you could create a new user using the environment variables MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD. As we all know, MONGO can be pejorative, and we try to remove it from all official documentation. Would it be possible to create aliases for these environment variables so that MONGO_INITDB_ROOT_USERNAME and MONGODB_INITDB_ROOT_USERNAME would both work (same for PASSWORD)? This way, we would support the syntax from the original Docker-maintained image, but our documentation could start to show `MONGODB_INITDB_ROOT_USERNAME`. Tagging ryan.egesdahl@mongodb.com, as we discussed earlier. |
| Comments |
| Comment by Alex Neben [ 12/Feb/23 ] |