mrvautin / adminMongo

adminMongo is a Web based user interface (GUI) to handle all your MongoDB connections/databases needs.
https://adminmongo.markmoffat.com
MIT License
3.88k stars 818 forks source link

env PASSWORD set but not exist auth #253

Closed abramovantonru closed 4 years ago

abramovantonru commented 5 years ago

How work auth? I am set env "PASSWORD" (and check in docker container - all done), but request for password not exist.

abramovantonru commented 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