Apex configuration
The Apex configuration file is config.yaml under Apex Home. The default is ~/.apex/config.yaml on Linux/macOS and C:\ProgramData\TDengine\Apex\config.yaml for a Windows TDengineSetup install.
Configuration keys
Section titled “Configuration keys”apex_home: ~/.apexbase_url: https://downloads.tdengine.comtelemetry_enabled: true| Key | Purpose | Default behavior |
|---|---|---|
apex_home |
Root directory for controller configuration, cache, manifests, reports, and logs. | ~/.apex on Linux/macOS; C:\ProgramData\TDengine\Apex on Windows. |
base_url |
Prefix used to expand ${base_url} in Component Manifest artifact URLs. |
https://downloads.tdengine.com; usually omit it. |
versions_url |
Overrides the Version Catalog URL. | Uses the built-in Apex source. |
component_manifest_urls |
Per-component Component Manifest URL templates. | Uses the release package or default source. |
install_mode |
Installer-maintained record of apex or docker mode. |
Managed by the install flow. |
telemetry_enabled |
Enables best-effort deployment telemetry. | Enabled by default. |
telemetry_endpoint |
Overrides the telemetry receiver. | Uses the Apex default endpoint. |
Version Catalog and Manifest URLs can use ${base_url}. Do not add the default download URL to installer-generated configuration; set base_url only when using a trusted mirror.
Override paths
Section titled “Override paths”Set Apex Home and the artifact cache during script installation:
./install.sh -m apex -H /data/apex-home -C /data/apex-cacheLinux/macOS script installs also support APEX_HOME, APEX_CACHE_DIR, and APEX_INSTALL_DIR. Windows TDengineSetup fixes the data directory at ProgramData and does not accept -H or /apexhome to change it.
The --cache and --manifests command-line options override the default cache and manifest locations. Apex Home and the target work directory are different concepts; set spec.apexDir in Deployment YAML to change the target directory.
Preserve configuration on upgrade
Section titled “Preserve configuration on upgrade”Upgrades preserve existing configuration. If a release introduces defaults or conflicting values, the installer may write config.yaml.new; compare and merge it as needed rather than replacing the current file. Do not store plaintext passwords, private-key contents, or other secrets in configuration.
Disable telemetry with:
telemetry_enabled: falseYou can also set APEX_TELEMETRY_DISABLED=1 in the current process. Telemetry failures do not change deployment exit codes, and --dry-run sends no deployment events.