-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to create admin user when using docker #1128
Comments
What do you mean with admin-user? There is one created while building mom-ca. The password should be inside of your docker-compose file. |
I tried, without success:
When I try to login at localhost:8181/login2 with admin/admin, I get "Wrong password, please try again." What am I missing? |
maybe there is something wrong with mapping the password. Have you tried accessing mom without a password? |
With admin/[blank] I get:
|
Ah, wait... but after reloading the page, I seem to be logged in as admin. |
Strange... it should work on first try without any errors... |
I can login, but the password for "admin" is always blank. I also cannot change it to another value. I'm verifying that the value of
So docker-compose seems to be resolving the password set in However, when I log into the container, there's no password:
Is something inside the container unsetting "PASSWORD"? Or does the container not pick up the password? If you try running the docker container, does setting the password through |
the password is stored in build.properties.xml not as an .env variable in the linux distro. |
I don't use mom in docker... I have it run bare metal |
If you really need to... you can always change the password via the exist-db dashboard |
Please describe, how to create an initial admin user when running the Docker image.
I found https://github.com/icaruseu/mom-ca/wiki/Create-an-initial-user, but I can't find the
db/mom-data/xrx.user
inside the Docker container.The text was updated successfully, but these errors were encountered: