Pi-hole v6 introduces significant changes, notably the removal of lighttpd in favor of a built-in web server, and a shift to TOML-based configuration (pihole.toml).
If you are upgrading an existing Docker deployment:
- Environment Variables:
WEBPASSWORDand other legacy vars are deprecated. UseFTLCONF_*prefixes.- Example:
WEBPASSWORD=secretbecomesFTLCONF_webserver_api_password=secret.
- Example:
- Volumes:
/etc/dnsmasq.dis no longer strictly required for standard configs, as Pi-hole FTL handles everything internally.
See the root docker-compose.yml for a modern working example.