Closed abramovantonru closed 4 years ago
NOTICE: "adminmongo" its name of my container, changed it
for access to container by shell
docker exec -it adminmongo sh
read current config, and set password option in not exists
cat config/app.json
output:
{
"app": {
"password": "CHANGEME"
}
}
for edit config file
vi config/app.json
at the end
docker restart adminmongo
PROFIT
How work auth? I am set env "PASSWORD" (and check in docker container - all done), but request for password not exist.