Image size: ~5.79MiB. Pihole/AdGuardHome alternative. USER: 133132.
3.6K
docker run -itd --log-driver none --name blocky -v /config/dir:/a/ defnotgustavom/blocky blocky --config /a/config.yml
Remove the -v line to run it with a very simple default config.
Check https://0xerr0r.github.io/blocky/configuration/ on how to configure or https://0xerr0r.github.io/blocky/config.yml for a self-explanatory config.
VERY BASIC CONFIG.YML
ports:
dns: 53
http: 4000
https: 443
blocking:
blackLists:
ads:
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- |
# inline definition with YAML literal block scalar style
someadsdomain.com
anotheradsdomain.com
# this is a regex
/^banners?[_.-]/
special:
- https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts
whiteLists:
ads:
- whitelist.txt
- |
# inline definition with YAML literal block scalar style
whitelistdomain.com
upstream:
default:
- 111.22.33.44
upstreamTimeout: 5s
Content type
Image
Digest
sha256:dfd1b8e9e…
Size
6.1 MB
Last updated
almost 3 years ago
docker pull defnotgustavom/blocky