Using the wiki page : https://github.com/statping/statping/wiki/Environment-Variables I tried to setup a default "admin password" using the environment variable "ADMIN_PASS" without success.
The problem is that the naming of this variable seems wrong. Indeed, in "types/configs/connection.go" on line 87 we can see that it's looking after a "ADMIN_PASSWORD" environment variable (instead of "ADMIN_PASS".
When I changed it to the correct name, it worked nicely :)
Steps to reproduce the behavior:
When setting the admin password in env variable I should be able to connect to the dashboard using the env variable value.
(I have already changed the wiki so nobody will have this problem but I think that a consistency pass on the naming of that variable should be done (ADMIN_PASS vs ADMIN_PASSWORD)
Thank you :)
I think it's a duplicate of the issue #542.
Not really a duplicate imo.
Ahhh.... nice catch.
Let's use ADMIN_PASSWORD. Not ~ADMIN_PASS~. PR: https://github.com/statping/statping/pull/595
Thank you and good job for this awesome tool :)
Thank you for the update. This was an issue for my installations as well.
I'm going to close this issue.
Do not use ~ADMIN_PASS~ as an environment variable, use ADMIN_PASSWORD.