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
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:
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.