Environment Variable Overrides
Environment Variable Overrides
ConfigurationManager automatically reads ADBLOCK_CONFIG_* environment
variables and merges them as a layer above any file or object source. This
allows CI/CD pipelines and Docker deployments to override scalar fields without
modifying config files.
Note: Only scalar fields are overridable via environment variables. Array fields (
sources,transformations,exclusions, …) must be set via config files or the--overrideflag.
Variable reference
| Variable | Maps to field | Example value |
|---|---|---|
ADBLOCK_CONFIG_NAME | name | "Nightly Block List" |
ADBLOCK_CONFIG_DESCRIPTION | description | "Auto-built from CI" |
ADBLOCK_CONFIG_HOMEPAGE | homepage | "https://example.com/lists" |
ADBLOCK_CONFIG_LICENSE | license | "MIT" |
ADBLOCK_CONFIG_VERSION | version | "1.2.3" |
Precedence
Env overrides are applied after file/object sources but before any
explicit --override / OverrideConfigurationSource:
file / object → ADBLOCK_CONFIG_* → --override → Zod validationOpting out
CLI
bloqr-compiler --config ./blocklist.json --no-env-overridesProgrammatic
const mgr = ConfigurationManager.fromFile('./blocklist.json', undefined, { applyEnvOverrides: false,});Docker / CI example
ENV ADBLOCK_CONFIG_NAME="My Custom List"ENV ADBLOCK_CONFIG_VERSION="2.0.0"# GitHub Actionsenv: ADBLOCK_CONFIG_NAME: "Nightly CI Build" ADBLOCK_CONFIG_VERSION: ${{ github.run_number }}Bloqr AI™ — The privacy you didn't know you needed.
© 2026 Bloqr AI™, a trademark of Bloqr Systems™. Created by Bloqr Systems™, founded by Jayson Knight.
Internet Hygiene (n.) — the ongoing practices that keep your digital life clean, private, and safe.
Our product repos live in the BloqrAI org, part of the Bloqr Systems GitHub Enterprise. Product repos are internal-visibility — enterprise membership is required to view them.