Auto Making Docker Admin Account for Webserver Mode via Docker .env File and Docker Compose configuration
Is your feature request related to a problem? Please describe. The current build of glances doesn't have a way to input an admin account credentials into the docker environment directly on a fresh start or install of the glances docker deployment. A user has to follow the directions here to create an admin account for the docker image:
https://glances.readthedocs.io/en/develop/docker.html How to protect your Dockerized server (or Web server) with a login/password ?
Describe the solution you'd like To enable an admin account when the web server mode is enabled, and pass that .env file credentials to the starting docker container, to input and run the credentials correctly, so that an admin account is created and built as the glances service is started inside the container.
Describe alternatives you've considered Currently the only method to create the password protection is with the procedure from the documentation.
Additional context The functionality exists already, just asking for the auto admin account creation in docker implementation to be considered as the 5.0 version is being built.
Thank you for all the work you have put into this amazing service!!!
Source: nicolargo/glances