emqx / emqx-dashboard

EMQX Dashboard
https://www.emqx.com
Apache License 2.0
55 stars 36 forks source link

change password through env variables? #275

Closed ashtonian closed 3 years ago

ashtonian commented 3 years ago

It would be really nice to be able to set the default password via a environment variable?

ashtonian commented 3 years ago

Sorry didn't see it in the emq.conf in the standard repo but the related plugin settings are defined in the emq.conf in the plugin repo itself.

EMQX_DASHBOARD__DEFAULT_USER__LOGIN=admin
EMQX_DASHBOARD__DEFAULT_USER__PASSWORD=public