SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.45k stars 308 forks source link

pi-hole not setting default password. #500

Closed the1gofer closed 2 years ago

the1gofer commented 2 years ago

After installing Pi-hole. The default password listed on https://sensorsiot.github.io/IOTstack/Containers/Pi-hole/ doesn't seem to work.

I was able to log in with by resetting it with docker exec -it pihole sudo pihole -a -p

Paraphraser commented 2 years ago

What seems to have happened is a change at the PiHole end. If the WEBPASSWORD environment variable is present, its value is respected. If omitted, PiHole generates a random password and then you have to change it using that command.