Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions _data/shared_chrome.json

Large diffs are not rendered by default.

1,316 changes: 683 additions & 633 deletions _docs/latest/api.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions _docs/latest/configuring-metabase/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,24 +137,6 @@ x.com`

Allowed iframe hosts.

### `MB_CSP_IMG_ENABLED`

- Type: boolean
- Default: `false`
- [Exported as](../installation-and-operation/serialization): `csp-img-enabled`.
- [Configuration file name](./config-file): `csp-img-enabled`

When on, the browser Content Security Policy restricts `img-src` so images can only load from this Metabase instance and the domains listed in `MB_CSP_IMG_ALLOWED_HOSTS`. Must be turned on to enable Custom Visualizations.

### `MB_CSP_IMG_ALLOWED_HOSTS`

- Type: string
- Default: `""`
- [Exported as](../installation-and-operation/serialization): `csp-img-allowed-hosts`.
- [Configuration file name](./config-file): `csp-img-allowed-hosts`

Comma-separated list of domains that images can load from in dashboard text cards, entity descriptions, and custom visualizations when `MB_CSP_IMG_ENABLED` is on. Empty by default, which restricts images to those hosted by your Metabase instance. See [Allowed domains for images](./settings#allowed-domains-for-images).

### `MB_ANALYTICS_PII_RETENTION_ENABLED`

> Only available on Metabase [Pro](/product/pro) and [Enterprise](/product/enterprise) plans.
Expand Down Expand Up @@ -381,6 +363,24 @@ Identify when new versions of Metabase are available.
Whether to (asynchronously) sync newly created Databases during config-from-file initialization. By default, true,
but you can disable this behavior if you want to sync it manually or use SerDes to populate its data model.

### `MB_CSP_IMG_ALLOWED_HOSTS`

- Type: string
- Default: ``
- [Exported as](../installation-and-operation/serialization): `csp-img-allowed-hosts`.
- [Configuration file name](./config-file): `csp-img-allowed-hosts`

Comma-separated list of hosts that images may load from (e.g. in dashboard text, entity descriptions, and custom visualizations) when `csp-img-enabled` is on. Empty by default, which restricts images to this Metabase instance.

### `MB_CSP_IMG_ENABLED`

- Type: boolean
- Default: `false`
- [Exported as](../installation-and-operation/serialization): `csp-img-enabled`.
- [Configuration file name](./config-file): `csp-img-enabled`

Restrict the browser Content Security Policy so images can only load from this Metabase instance or the hosts listed in `csp-img-allowed-hosts`. Must be on to enable Custom Visualizations.

### `MB_CSV_FIELD_SEPARATOR`

- Type: string
Expand Down
1 change: 1 addition & 0 deletions _docs/latest/installation-and-operation/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar help

Metabase will print out the help text for available commands.


## `api-documentation`

Generate an HTML file and a JSON file for Scalar docs for the Metabase API.
Expand Down
Loading