pedrocesarti / internet-speedtest-docker

Internet testing running on Docker Compose.
116 stars 40 forks source link

Problem with Variables #1

Closed pedrocesarti closed 7 years ago

pedrocesarti commented 8 years ago

Environment variables it's not working properly.

jeffprandall commented 8 years ago

Any updates on this?

pedrocesarti commented 8 years ago

Jeff.. Sorry I couldnt stop to fix it until now..

pedrocesarti commented 7 years ago

I just saw, a problem with a variable that give username and password. Turn around would be use username admin password pedrocesar. Tell me if this work.

pedrocesarti commented 7 years ago

3 probably will solve the problem @jeffprandall.

pedrocesarti commented 7 years ago

Solved by @MTRNord in the PR #3 .

chan-vince commented 5 years ago

This did not fix the login problem for me. I think the issue is in the Dockerfile for speedweb:

ADD conf/grafana.db /var/lib/grafana/grafana.db

This is your grafana.db in internet-speedtest-docker/speedweb/conf/ which gets built into the image. Therefore your login admin/pedrocesar is actually built into the docker image. Setting the environment variables such as GF_SECURITY_ADMIN_PASSWORD doesn't have any effect as your admin user is already created in your grafana.db.

I created another Docker container but with volume mounts so it created a new grafana.db. I can confirm that doing this creates a new user as GF_SECURITY_ADMIN_PASSWORD has effect.

attarchi commented 2 years ago

This issue is solved in Fix #28