how to create or config admin user and pass ?

0
Hi there I have been deploy mendix in GCP with Docker image but when we deployment and run project in account database disappear admin user    how to create or config admin user and pass ?
asked
2 answers
2

Create an environment  variable with name ADMIN_PASSWORD

 

make sure it has complex and meets your password policy requirements.

 

https://github.com/mendix/cf-mendix-buildpack

answered
1

Hi Samart,

 

create an user in the after startup flow of your application. Make sure to give it the admin role when creating it.

 

Something like:

image.png

 

Edit: First lookup if it exists or not, otherwise you'll get an error. 

After first creation this functionality can be removed from the ASU.

answered