Public | Automated Build

Last pushed: 2 years ago
Short Description
mongodb auth password
Full Description


A simple wrapper on top of mongo container adding root user and forcing authentication.

In order to use it PWD should be passed via env.
docker run -d -e PWD=<your strong password here> zanjs/mongo-auth

mongo 用户认证连接

连接 root 用户 密码为您设置的密码

docker run -d -e PWD=<设置数据库密码> zanjs/mongo-auth

Docker Pull Command
Source Repository