![]() ![]() Set your TZ environment variable to make sure the midnight log rotation syncs up with your timezone's midnight. If PIHOLE_BASE is not set, files are stored in your current directory when you invoke the script.Īutomatic Ad List Updates - since the 3.0+ release, cron is baked into the container and will grab the newest versions of your lists and flush your logs. You can customize where to store persistent data by setting the PIHOLE_BASE environment variable when invoking docker_run.sh (e.g. The IP lookup variables may not work for everyone, please review their values and hard code IP and IPv6 if necessary. Volumes are recommended for persisting data across container re-creations for updating images. If you're using a Red Hat based distribution with an SELinux Enforcing policy add :z to line with volumes like so: If you have no other services or docker containers using port 53/80 (if you do, keep reading below for a reverse proxy example), the minimum arguments required to run this container are in the script docker_run.sh This container uses 2 popular ports, port 53 and port 80, so may conflict with existing applications ports. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |