DBT configuration parameters

To configure the service, use the following configuration parameters in ADCM.

NOTE
  • Some of the parameters become visible in the ADCM UI after the Advanced flag has been set.

  • The parameters that are set in the Custom group will overwrite the existing parameters even if they are read-only.

dbt-env.sh
Parameter Description Default value

DBT_PROFILES_DIR

Path to the profiles.yml configuration file

/etc/ad-dbt/conf

DBT_LOG_PATH

Directory for logs

 — 

DBT_TARGET

Specifies the --target-path parameter. Defines the directory where dbt stores compiled SQL files, logs, manifests, and execution artifacts (by default, the target/ directory in the project root)

 — 

Custom dbt-env.sh

You can use the Custom dbt-env.sh field to set configuration parameters for GitSync. The settings specified in this field have higher priority than the settings specified in dbt-env.sh.

docs component

The docs component has the docs_projects parameter, which can be used as a configuration file to map project paths to ports for documentation’s web UI.

Configuration template:

docs_projects:
  <project_dir>: <port>

where:

  • project_dir — path to a dbt project;

  • port — port used to access documentation.

Example:

docs_projects:
  /opt/test/dbt/dbt_people_lab: 8092

The documentation will be available at http://<host>:<port>.

Found a mistake? Seleсt text and press Ctrl+Enter to report it