Is there a way by using an environment variable to set the privacy settings to "anonymous mode"?
QUERY_LOGGING=false
seems not to work
--
Docker Tag 2022.09.4 | Pi-hole v5.12.2 | FTL v5.18.1 | Web Interface v5.15.1
Is there a way by using an environment variable to set the privacy settings to "anonymous mode"?
QUERY_LOGGING=false
seems not to work
--
Docker Tag 2022.09.4 | Pi-hole v5.12.2 | FTL v5.18.1 | Web Interface v5.15.1
The query logging setting controls logging to the dnsmasq log at /var/log/pihole/pihole.log.
The privacy settings you show in your screen capture control the query log, which is saved to the query database at /etc/pihole/pihole-FTL.db.
Your selected setting is saved in the FTL configuration file at /etc/pihole/pihole-FTL.conf.
In Docker, these files should be mapped to persistent locations, to survive container restarts.
Thx, I'm aware of the persistent mount but I like the idea of having a "disposable" container and guess what, this is the only setting (I need) which cannot be set through environment variables upon starting the container.
So I don't need any persistent data (or data I consider useful to be stored) upon using pi-hole for my use case
https://github.com/pi-hole/docker-pi-hole#advanced-variables
FTLCONF_PRIVACYLEVEL=XXXX
Now this is what I was looking for, works perfectly
thx a lot