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

[IDEA] Allow configuring admin username and password using environment variables #6037

Open
aristotelos opened this issue Dec 19, 2023 · 1 comment
Labels
enhancement New feature or request Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12147 triaged

Comments

@aristotelos
Copy link

aristotelos commented Dec 19, 2023

Is your feature request related to a problem? Please describe.
When installing Mirth, one has to manually update the admin password. For deployment automation this is not great.

Describe your use case
My use case is that I want to start Mirth using Docker and set a new secure password (and if possible, username) for the admin user. E.g. CONNECT_ADMIN_PASSWORD and CONNECT_ADMIN_USERNAME.

Describe the solution you'd like
Allow configuring admin username and password using environment variables.

Describe alternatives you've considered
The only alternative for automated deployment is to use HTTP API requests to update the password of the admin user after starting Mirth. I think many users of Docker will not take this extra step and therefore leave the unsecure password - which is a security issue.

Additional context
This feature request is related to #4842 but different in the sense that it is about changing the admin account and not about creating a normal user account. Furthermore, #4842 does not mention deployment automation.

See also nextgenhealthcare/connect-docker#9.

@tonygermano
Copy link
Collaborator

It's probably not actually related to #4842. That is for the operating system user used to run the mirth service. The docker container already uses a non-root user to start the server.

I don't think that setting these variables should necessarily change the password for the admin user for an existing install, but should be looked at as initial values when mirth requires generating a new database.

@lmillergithub lmillergithub added triaged Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12147 labels Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12147 triaged
Projects
None yet
Development

No branches or pull requests

3 participants