On this page
Get Involved
Environment Variables
Powerpipe supports environment variables to allow you to change its default behavior. These are optional settings - You are not required to set any environment variables.
Powerpipe Environment Variables
| Command | Default | Description |
|---|---|---|
| PIPES_HOST | pipes.turbot.com | Set the Turbot Pipes host, for connecting to Turbot Pipes workspace. |
| PIPES_INSTALL_DIR | ~/.pipes | Set the installation directory for files used with Turbot Pipes, such as login tokens. |
| PIPES_TOKEN | Set the Turbot Pipes authentication token for connecting to Turbot Pipes workspace. | |
| POWERPIPE_BENCHMARK_TIMEOUT | 0 (no timeout) | Set the benchmark execution timeout, in seconds. |
| POWERPIPE_CONFIG_PATH | .:$POWERPIPE_INSTALL_DIR/config | Sets the search path for configuration files. POWERPIPE_CONFIG_PATH accepts a colon-separated list of directories. |
| POWERPIPE_DASHBOARD_TIMEOUT | 0 (no timeout) | Set the dashboard execution timeout, in seconds. |
| POWERPIPE_DATABASE | postgres://steampipe@ localhost:9193/steampipe | DEPRECATED - See Setting the Database for the new syntax. A database connection string or Turbot Pipes workspace to use as the default database. The default is a local Steampipe instance. |
| POWERPIPE_GIT_TOKEN | none | Set a GitHub personal access token or application token to use when installing mods from Github. |
| POWERPIPE_INSTALL_DIR | ~/.powerpipe | Set the installation directory for powerpipe. Internal powerpipe files will be written to this path. |
| POWERPIPE_LISTEN | network | Specifies the IP addresses on which powerpipe server will listen for connections from clients. Currently supported values are local (localhost only) or network (all IP addresses). |
| POWERPIPE_LOG_LEVEL | off | Set the logging output level. |
| POWERPIPE_MAX_PARALLEL | 10 | Set the maximum number of parallel executions. |
| POWERPIPE_MEMORY_MAX_MB | 1024 | Set a soft memory limit for the powerpipe process. |
| POWERPIPE_MOD_LOCATION | current working directory | Set the workspace working directory. |
| POWERPIPE_PORT | 9033 | Specifies the TCP port on which powerpipe server will listen for connections from clients. |
| POWERPIPE_QUERY_TIMEOUT | 300 | Set the amount of time to wait for a query to complete before timing out, in seconds. |
| POWERPIPE_SNAPSHOT_LOCATION | The Turbot Pipes user's personal workspace | Set the Turbot Pipes workspace or filesystem path for writing snapshots. |
| POWERPIPE_TELEMETRY | info | Set the level of telemetry data to collect and send. |
| POWERPIPE_UPDATE_CHECK | true | Enable/disable automatic update checking. |
| POWERPIPE_WORKSPACE | default | Set the Powerpipe workspace . This can be named workspace from workspaces.ppc or a remote Powerpipe Cloud workspace. |