2.2 KiB
Installation notes
Default Configuration
The following config will be pre-configured and merged with any config you manually add to blockyConfig
option in values.yaml
:
Redis (always present):
redis:
address: $redis_host:6379
password: $redis_pass
database: 0
required: true
connectionAttempts: 10
connectionCooldown: 3s
Prometheus (Only present if enabled):
prometheus:
enable: true
path: /metrics
Upstreams (from values.yaml):
upstream:
default:
- # Content from `.Values.defaultUpstreams`
# Additional upstream groups from `.Values.upstreams`
Whitelist/Blacklist (from values.yaml) :
blocking:
blockType: nxDomain
blockTTL: 6h
refreshPeriod: 4h
downloadTimeout: 60s
downloadAttempts: 3
downloadCooldown: 2s
failStartOnListError: false
processingConcurrency: 4
whiteLists:
# Groupname:
- # Content from .Values.blocking.whiteList
blackLists:
# Groupname:
- # Content from .Values.blocking.blackList
clientGroupsBlock:
# Groupname:
- # Content from .Values.blocking.clientGroupsBlock
Configuration Instructions
TrueNAS SCALE
For TrueNAS SCALE, we offer only a limited subset of configuration options:
- Upstream DNS servers
- Whitelists
- Blacklists
Those have special variables in values.yaml
, so we can show them nicely in the TrueNAS SCALE GUI
Native Helm
For anything but TrueNAS SCALE, we would advice to instead use blockyConfig
in Values.yaml
and NOT mount any configuration file manually.
In short:
- Add your config in
values.yaml
underblockyConfig:
- Add your whitelists in
values.yaml
underblockyWhitelist
or manually using blockyConfig - Add your blacklists in
values.yaml
underblockyBlacklist
or manually using blockyConfig
Adding config by mounting files
You can mount custom config files, using persistence
or, in SCALE GUI, Additional Storage
to the following path:
/app/config/
However it cannot reference any of the pre-defined variables listed above, so it's use is severely limited.
You can also mount custom Whitelist/Blacklist files, using persistence
or, in SCALE GUI, Additional Storage
and enter the path in your whitelist or blacklist settings manually