Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env PASSWORD set but not exist auth #253

Closed
abramovantonru opened this issue Nov 19, 2019 · 1 comment · May be fixed by #255, marcusrc/adminMongo#6, marcusrc/adminMongo#16, marcusrc/adminMongo#18 or marcusrc/adminMongo#19

Comments

@abramovantonru
Copy link

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

@abramovantonru
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment