Configuration
Configure backend behavior through YAML and BACKEND_ environment variables.
The backend reads /etc/justscan/config.yaml and applies BACKEND_ environment variables as overrides. Replace dots with underscores in environment variable names.
Configuration order
The YAML file provides the deployable baseline. Explicit BACKEND_ environment variables override it at runtime, which is how the Helm chart injects secret values. Keep non-secret values in version-controlled deployment configuration and keep secrets in the platform secret manager.
Important settings include:
allow_originsfor browser origins that can call the backendscanner.enable_trivy,scanner.enable_grype, timeouts, concurrency, and database agevuln_kb.nvd_api_keyand cache durationsecurity.allow_insecure_defaultsfor local development onlylocal_auth.enabled; OIDC provider records are configured through the administration flow
The backend validates that production JWT and encryption keys are at least 32 characters unless security.allow_insecure_defaults is explicitly enabled for local development. Grype augmentation requires local Trivy to remain enabled.
Use local authentication, OIDC authentication, and scanner configuration alongside the full configuration reference.