Configuration
This page describes the common environment variables used by the base,
alerts, search, and lvs Docker Compose developer profiles. Use it
with the hardware-specific values in the corresponding deployment guide.
For warehouse deployments, use the Warehouse Quick Start. Warehouse has additional modes, datasets, brokers, and calibration requirements.
Configuration files and precedence
For a manual developer-profile deployment, use native Docker Compose with a
local override file copied from the checked-in template. Run commands from
deploy/docker and supply files in this order:
containers.envselects the shared image registry and tag.developer-profiles/dev-profile-<profile>/.envsupplies stable defaults.- A local
*-overrides.envfile supplies host, hardware, and model choices.
Start the local file from the checked-in template:
Later --env-file arguments take precedence. Update an existing variable in
user-overrides.env instead of appending a duplicate. Variables such as
COMPOSE_PROFILES refer to model-mode and model-slug values defined earlier
in the file, so keep those definitions before the derived value.
Files matching *-overrides.env are ignored by Git. Do not put credentials
in the checked-in .env or overrides.env files.
VSS_CONTAINER_TAG_SUFFIX is an exception to the file-based workflow. On
SBSA hosts such as GB300 and DGX Spark, export
VSS_CONTAINER_TAG_SUFFIX=-sbsa before running Compose. containers.env
derives the applicable image tags before later env files are read.
Profile selection
The profile directory and MODE are separate choices. For example,
dev-profile-alerts accepts MODE=2d_cv or MODE=2d_vlm; setting
MODE=alerts is not valid.
Model placement and endpoints
When using a remote model, update the mode, name, slug, base URL, model type, and related RT-VLM values together. See Configure the LLM and Configure the VLM for complete examples.
RT-VLM settings
For real-time Alerts, also set MODE=2d_vlm,
ALERT_AGENT_ALWAYS_ON=true, and
COMPOSE_PROFILES=${COMPOSE_PROFILES_VLM}. For alert verification, use
MODE=2d_cv, ALERT_AGENT_ALWAYS_ON=false, and
COMPOSE_PROFILES=${COMPOSE_PROFILES_CV}.
Alerts workflow settings
Host paths and ingress
Each profile template also defines service-specific published ports. Change those values only when a default host port conflicts with another local service.
Validate the effective configuration
Use the same environment-file sequence for validation and startup:
Use config --environment to inspect interpolation and config --services
to inspect selected services without starting containers. config --quiet
validates that Compose can render the model, but it can exit successfully while
warning that variables are unset and defaulting them to empty strings. Review
those warnings against the selected profile; variables used only by inactive
profiles can also warn. This check does not prove that every operationally
required value is set, pull images, validate registry entitlements, create
missing host directories, or test service health.