title | redirect_from | |
---|---|---|
Environment variables |
|
Many settings in Metabase can be viewed and modified in the Admin Panel, or set via environment variables. The environment variables always take precedence. Note that the environment variables won't get written into the application database.
Setting environment variables can be done in various ways depending on how Metabase is being run.
JAR file:
# Mac, Linux and other Unix-based systems
export MB_SITE_NAME="Awesome Company"
# Windows Powershell
$env:MB_SITE_NAME="Awesome Company"
# Windows batch/cmd
set MB_SITE_NAME="Awesome Company"
java -jar metabase.jar
Or set it as Java property, which works the same across all systems:
java -DMB_SITE_NAME="Awesome Company" -jar metabase.jar
Docker:
docker run -d -p 3000:3000 -e MB_SITE_NAME="Awesome Company" --name metabase metabase/metabase
Type: integer
Default: 20160
Session expiration, defined in minutes (default is 2 weeks), which will log out users after the defined period and require re-authentication.
Note: This setting is not an idle/inactivity timeout. If you set this to 15 minutes, your users have to login (or re-authenticate) again every 15 minutes. Use MB_SESSION_TIMEOUT to control timeout based on inactivity.
Use MB_SESSION_COOKIES to also expire sessions, when browser is closed.
Also see the Changing session expiration documentation page.
Type: string
Default: null
The email address users should be referred to if they encounter a problem.
Type: boolean
Default: true
Enable the collection of anonymous usage data in order to help Metabase improve.
Type: string
Default: null
Middleware that enforces validation of the client via the request header X-Metabase-Apikey
. If the header is available, then it’s validated against MB_API_KEY
. When it matches, the request continues; otherwise it’s blocked with a 403 Forbidden response.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "{}"
JSON object of primary colors used in charts and throughout Metabase. Examples:
To change the user interface colors:
{
"brand":"#ff003b",
"filter":"#FF003B",
"summarize":"#FF003B"
}
To change the chart colors:
{
"accent0":"#FF0005",
"accent1":"#E6C367",
"accent2":"#B9E68A",
"accent3":"#8AE69F",
"accent4":"#8AE6E4",
"accent5":"#8AA2E6",
"accent6":"#B68AE6",
"accent7":"#E68AD0"
}
Type: integer
Default: 15
Since: v35.0
Maximum number of connections to the Metabase application database.
Change this to a higher value if you notice that regular usage consumes all or close to all connections. When all connections are in use, Metabase might feel slow or unresponsive when clicking around the interface.
To see how many connections are being used, check the Metabase logs and look for lines that contains the following: … App DB connections: 12/15 …
. In this example, 12 out of 15 available connections are being used.
See MB_JDBC_DATA_WAREHOUSE_MAX_CONNECTION_POOL_SIZE for setting maximum connections to the databases connected to Metabase.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "frontend_client/favicon.ico"
Path or URL to favicon file.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "Lato"
Since: v44.0
Change the font used in Metabase. See fonts.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "{}"
Since: v44.0
Tell Metabase which font files to use for different styles. Example value:
[
{
"src": "https://example.com/resources/font-400",
"fontFormat": "ttf",
"fontWeight": 400,
},
{
"src": "https://example.com/resources/font-700",
"fontFormat": "woff",
"fontWeight": 700,
}
]
See fonts.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "app/assets/img/logo.svg"
Path or URL to logo file. For best results use SVG format.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "Metabase"
Replace the word Metabase
wherever it appears with the defined string.
Type: integer
Default: 50
Since: v35.0
Maximum number of async Jetty threads. If not set, then MB_JETTY_MAXTHREADS will be used, otherwise it will use the default.
Only available on Metabase Pro and Enterprise plans.
Type: integer
Default: 0 (Metabase keeps all rows)
Sets the maximum number of days Metabase preserves rows in the query_execution
table in the application database.
Twice a day, Metabase will delete rows older than this threshold.
The minimum value is 30
days (Metabase will treat entered values of 1
to 29
the same as 30
). If set to 0
, Metabase will keep all rows.
Type: double
Default: 10.0
When using the default binning strategy for a field of type Coordinate (such as Latitude and Longitude), this number will be used as the default bin width (in degrees).
Type: integer
Default: 8
When using the default binning strategy and a number of bins is not provided, this number will be used as the default.
Type: boolean
Default: true
Identify when new versions of Metabase are available.
Type: boolean
Default: true
Color log lines. When set to false
it will disable log line colors. This is disabled on Windows. Related to MB_EMOJI_IN_LOGS.
Type: string
Default: config.yml
This feature requires the config-text-file
feature flag on your token.
Type: string
Default: "{}"
JSON object keyed by type, containing formatting settings.
Type: string
Default: "{}"
JSON object containing information about custom GeoJSON files for use in map visualizations instead of the default US State or World GeoJSON.
Type: boolean
Default: true
Whether or not the use of custom GeoJSON is enabled.
Type: boolean
Default: true
When set to false
, Metabase will print migrations needed to be done in the application database and exit. Those migrations need to be applied manually. When true
, Metabase will automatically make changes to the application database. This is not related to migrating away from H2.
Type: integer
Default: 10000
Timeout in milliseconds for connecting to databases, both Metabase application database and data connections. In case you're connecting via an SSH tunnel and run into a timeout, you might consider increasing this value as the connections via tunnels have more overhead than connections without.
Type: string
Default: null
A JDBC-style connection URI that can be used instead of most of MB_DB_*
like MB_DB_HOST. Also used when certain Connection String parameters are required for the connection. The connection type requirement is the same as MB_DB_TYPE.
Examples:
jdbc:postgresql://db.example.com:5432/mydb?user=dbuser&password=dbpassword
jdbc:postgresql://db.example.com:5432/mydb?user=dbuser&password=dbpassword&ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
jdbc:mysql://db.example.com:3306/mydb?user=dbuser&password=dbpassword
Type: string
Default: null
The database name of the application database used with MB_DB_HOST.
Type: string
Default: "metabase.db"
Location of H2 database file. Should not include the .mv.db
(or .h2.db
) file extension. Used when MB_DB_TYPE is set to"h2"
.
Can also be used when migrating away from H2 to specify where the existing data should be read from.
Type: string
Default: null
The host name or IP address of the application database. Used when MB_DB_TYPE is different than "h2"
.
Type: boolean
Default: null
Used for testing with MB_DB_FILE.
Type: string
Default: null
The password for MB_DB_HOST.
Type: integer
Default: null
The port for MB_DB_HOST.
Type: string ("h2"
, "postgres"
, "mysql"
)
Default: "h2"
When "h2"
, the application database is loaded from MB_DB_FILE, otherwise MB_DB_HOST will be used to define application database.
Type: string
Default: null
The username for MB_DB_HOST.
Type: string
Default: null
Used during development of third-party drivers. Set the value to have that plugin manifest get loaded during startup. Specify multiple plugin manifests by comma-separating them.
Type: boolean
Default: false
When true
, this will disable session throttling. Warning: It is not recommended to disable throttling, since it is a protective measure against brute-force attacks.
Use MB_SOURCE_ADDRESS_HEADER to set the IP address of the remote client from e.g. a reverse-proxy.
Type: string
Default: null
Address you want to use as the sender of emails generated by Metabase, such as pulses or account invitations.
Type: string
Default: null
Since: v44.0
Use the defined name in emails. By default, no name is used, meaning it just displays the MB_EMAIL_FROM_ADDRESS email address.
Type: string
Default: null
Since: v44.0
Include a Reply-To address in emails. Has to be in the format "['[email protected]']"
(including the square brackets).
Type: string
Default: null
The address of the SMTP server that handles your emails.
Type: string
Default: null
SMTP password.
Type: integer
Default: null
The port your SMTP server uses for outgoing emails.
Type: string ("tls"
, "ssl"
, "starttls"
, "none"
)
Default: "none"
SMTP secure connection protocol.
Type: string
Default: null
SMTP username.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
URL of origin allowed to embed the full Metabase application.
Related to MB_SESSION_COOKIE_SAMESITE. Read more about FullApp Embedding.
Type: string
Default: null
Since: v44.0
Secret key used to sign JSON Web Tokens for requests to /api/embed endpoints.
The secret should be kept safe (treated like a password) and recommended to be a 64 character string.
This is for Signed Embedding, and has nothing to do with JWT SSO authentication, which is MB_JWT_*.
Type: boolean
Default: true
Emojis on log lines. When set to false
it will disable log line emojis. This is disabled on Windows. Related to MB_COLORIZE_LOGS.
Type: boolean
Default: false
Allow admins to securely embed questions and dashboards within other applications.
Type: boolean
Default: true
Allow using a saved question as the source for other queries.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: true
Still allow logging in by email and password when SSO login options are enabled.
Type: boolean
Default: false
Enable admins to create publicly viewable links (and embedded iframes) for questions and dashboards.
Type: boolean
Default: false
Enabling caching will save the results of queries that take a long time to run.
Type: boolean
Default: null
When true
, this will enable /api/testing
endpoint. Warning: This should never be enabled in production system.
Type: boolean
Default: true
Allow users to explore data using X-rays.
Type: string
Default: null
When set, this will encrypt database credentials stored in the application database. Requirement: minimum 16 characters base64-encoded string.
Also see documentation page Encrypting database details at rest.
Type: string
Default: null
When set, allows users to automatically create their Metabase account by logging in if their Google account email address is from this domain.
Since v40.0, the Pro and Enterprise plans supports inputting multiple domains separated by commas.
Type: string
Default: null
Client ID for Google Auth SSO. If this is set, Google Auth is considered to be enabled.
Type: integer
Default: 15
Since: v35.0
Maximum number of connections to the data source databases. The maximum is for each database setup in Admin Panel > Databases, not a total for all databases.
Change this to a higher value if you notice that regular usage consumes all or close to all connections. When all connections are in use then Metabase will be slower to return results for queries, since it would have to wait for an available connection before processing the next query in the queue.
See MB_APPLICATION_DB_MAX_CONNECTION_POOL_SIZE for setting maximum connections to the Metabase application database.
Type: integer
Default: 600000
Since: v35.0
Timeout of Jetty async threads, defined in milliseconds. The default is 10 minutes. Very few things might reach that timeout, since they return some type of data before, but things like CSV downloads might.
Type: boolean
Default: false
Use daemon threads.
Type: string
Default: localhost
for JAR, 0.0.0.0
for Docker
Configure a host either as a host name or IP address to identify a specific network interface on which to listen. If set to "0.0.0.0"
, Metabase listens on all network interfaces. It will listen on the port specified in MB_JETTY_PORT.
Type: boolean
Default: true
Blocks the thread until server ends.
Type: integer
Default: 200000
Maximum idle time for a connection, in milliseconds.
Type: integer
Default: "FIX ME"
Maximum number of requests to be queued when all threads are busy.
Type: integer
Default: 50
Maximum number of threads.
Change this to a higher value if you notice that regular usage consumes all or close to all threads. When all threads are in use Metabase might feel slow or unresponsive when clicking around the interface.
To see how many threads are being used, check the Metabase logs and look for lines that contain the following: … Jetty threads: 45/50 …
, which in this case would indicate 45 out of 50 available threads are being used.
Related MB_ASYNC_QUERY_THREAD_POOL_SIZE.
Type: integer
Default: 8
Minimum number of threads.
Type: integer
Default: 3000
Configure which port to use for HTTP. It will listen on the interface specified in MB_JETTY_HOST.
Type: integer
Default: 8192
Since: v36.0
Maximum size of a request header, in bytes. Increase this value if you are experiencing errors like "Request Header Fields Too Large".
Type: boolean
Default: null
When set to true
, will enable HTTPS with the options configured in the MB_JETTY_SSL_*
variables.
Also see the Customizing Jetty web server documentation page.
Type: boolean
Default: null
Configure Java SSL client authentication. When set to true
, client certificates are required and verified by the certificate authority in the TrustStore.
Type: string
Default: null
Path to Java KeyStore file.
Type: string
Default: null
Password for Java KeyStore file.
Type: integer
Default: null
Configure which port to use for HTTPS. It will listen on the interface specified in MB_JETTY_HOST.
Type: string
Default: null
Path to Java TrustStore file.
Type: string
Default: null
Password for Java TrustStore file.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "email"
Key to retrieve the JWT user's email address.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "first_name"
Key to retrieve the JWT user's first name.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "groups"
Key to retrieve the JWT user's groups.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "last_name"
Key to retrieve the JWT user's last name.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: false
When set to true
, will enable JWT authentication with the options configured in the MB_JWT_*
variables.
This is for JWT SSO authentication, and has nothing to do with Signed Embedding, which is MB_EMBEDDING_SECRET_KEY
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "{}"
JSON object containing JWT to Metabase group mappings. Should be in the form: '{"groupName": [1, 2, 3]}'
where keys are JWT groups and values are lists of Metabase groups IDs.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: false
Enable group membership synchronization with JWT.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
URL of JWT based login page.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
String used to seed the private key used to validate JWT messages.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: ""
Default page to show people when they log in.
Type: string
Default: "mail"
Attribute to use for the user's email. Usually 'mail', 'email' or 'userPrincipalName'.
Type: string
Default: "givenName"
Attribute to use for the user's first name. Usually 'givenName'.
Type: string
Default: "sn"
Attribute to use for the user's last name. Usually 'sn'.
Type: string
Default: null
The Distinguished Name to bind as (if any). This user will be used to lookup information about other users.
Type: boolean
Default: false
When set to true
, will enable LDAP authentication with the options configured in the MB_LDAP_*
variables.
Type: string
Default: null
Search base for groups. Not required if your LDAP directory provides a 'memberOf' overlay. (Will be searched recursively.)
Type: string
Default: "{}"
JSON object containing LDAP to Metabase group mappings.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "(member={dn})"
Since: v40.0
Group membership lookup filter. The placeholders {dn}
and {uid}
will be replaced by the user's Distinguished Name and UID, respectively.
Type: boolean
Default: false
Enable group membership synchronization with LDAP.
Type: string
Default: null
Server hostname.
Type: string
Default: null
The password to bind with for the lookup user.
Type: string
Default: "389"
Server port, usually 389 or 636 if SSL is used.
Type: string ("none"
, "ssl"
, "starttls"
)
Default: "none"
Use SSL, TLS or plain text.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: true
Sync user attributes when someone logs in via LDAP.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "userPassword,dn,distinguishedName"
Comma-separated list of user attributes to skip syncing for LDAP users.
Type: string
Default: null
Search base for users. (Will be searched recursively.)
Type: string
Default: "(&(objectClass=inetOrgPerson)(|(uid={login})(mail={login})))"
User lookup filter. The placeholder {login}
will be replaced by the user supplied login.
Only available on Metabase Pro and Enterprise plans.
Type: string ("doing-science"
, "running-query"
, "loading-results"
)
Default: "doing-science."
Since: v44.0
Change the loading message, when waiting for results.
Type: string
Default: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
The map tile server URL template used in map visualizations, for example from OpenStreetMaps or MapBox.
Type: string ("substring"
, "prefix"
, "off"
)
Default: "substring"
Since: v44.1
Matching style for native query editor's autocomplete. Larger instances can have performance issues matching using substring
, so can use prefix
matching, or turn autocompletions off
.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
Since: v42.0
The base URL where dashboard notitification links will point to instead of the Metabase base URL. Only applicable for users who utilize FullApp embedding and subscriptions.
Type: integer
Default: 500
Since: v44.0
The initial retry delay in milliseconds when delivering notifications.
Type: integer
Default: 7
Since: v44.0
The maximum number of attempts for delivering a single notification.
Type: integer
Default: 30000
Since: v44.0
The maximum delay between attempts to deliver a single notification.
Type: double
Default: 2.0
Since: v44.0
The delay multiplier between attempts to deliver a single notification.
Type: double
Default: 0.1
Since: v44.0
The randomization factor of the retry delay when delivering notifications.
Type: string
Default: ""
Comma-separated namespaces to trace. WARNING: Could log sensitive information like database passwords.
Type: string ("weak"
, "normal"
, "strong"
)
Default: "normal"
Enforce a password complexity rule to increase security for regular logins. This only applies to new users or users that are changing their password. Related MB_PASSWORD_LENGTH
weak
no character constraintsnormal
at least 1 digitstrong
minimum 8 characters w/ 2 lowercase, 2 uppercase, 1 digit, and 1 special character
Type: integer
Default: 6
Set a minimum password length to increase security for regular logins. This only applies to new users or users that are changing their password. Uses the length of MB_PASSWORD_COMPLEXITY if not set.
Type: string
Default: "0 0 0/6 * * ? *"
Since: v44.0
Cron syntax string to schedule refreshing persisted models.
Type: boolean
Default: false
Since: v44.0
Allow persisting models into the source database.
Type: string
Default: "plugins"
Path of the "plugins" directory, which is used to store the Metabase database drivers. The user who is running Metabase should have permission to write to the directory. When running the JAR, the default directory is plugins
, created in the same location as the JAR file. When running Docker, the default directory is /plugins
.
The location is where custom third-party drivers should be added. Then Metabase will load the driver on startup, which can be verified in the log.
Type: string
Default: null
The license token used for Pro and Enterprise to enable premium features on the Enterprise edition. It is also used for the deprecated "Premium Embedding" functionality on the OSS edition.
Type: string
Default: "db"
Current cache backend. Dynamically rebindable primarily for test purposes.
Type: integer
Default: 1000
The maximum size of the cache, per saved question, in kilobytes.
Type: integer
Default: 8640000
The absolute maximum time to keep any cached query results, in seconds. The default value is 100 days in seconds.
Type: integer
Default: 60
Metabase will cache all saved questions with an average query execution time longer than this many seconds.
Type: integer
Default: 10
To determine how long each saved question's cached result should stick around, we take the query's average execution time and multiply that by whatever you input here. So if a query takes on average 2 minutes to run, and you input 10 for your multiplier, its cache entry will persist for 20 minutes.
Type: boolean
Default: false
Since: v36.0
Force all traffic to use HTTPS via a redirect, if the site URL is HTTPS. Related MB_SITE_URL
Type: string
Default: null
Connection timezone to use when executing queries. Defaults to system timezone.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "Metabase"
This application name will be used for requests to the Identity Provider.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
SAML attribute for the user's email address.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"
SAML attribute for the user's first name.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "member_of"
SAML attribute for group syncing.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"
SAML attribute for the user's last name.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: false
When set to true
, will enable SAML authentication with the options configured in the MB_SAML_*
variables.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "{}"
JSON object containing SAML to Metabase group mappings. Should be in the form: '{"groupName": [1, 2, 3]}'
where keys are SAML groups and values are lists of Metabase groups IDs.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: false
Enable group membership synchronization with SAML.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
Encoded certificate for the identity provider, provided as the content, not a file path.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
This is a unique identifier for the IdP. Often referred to as Entity ID or simply Issuer. Depending on your IdP, this usually looks something like http://www.example.com/141xkex604w0Q5PN724v
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
This is the URL where your users go to log in to your identity provider. Depending on which IdP you're using, this usually looks like https://your-org-name.okta.com
.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "metabase"
Alias for the key that Metabase should use for signing SAML requests.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: "changeit"
Password for opening the KeyStore.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
Absolute path to the KeyStore file to use for signing SAML requests.
Type: boolean
Default: true
Since: v39.0
Show auto-suggestions when using the global search in the top navigation bar.
Type: boolean
Default: true
Since: v39.0
Send email notification to user, when they login from a new device. Set to false
to stop sending "We've noticed a new login on your Metabase account" emails for all users.
Also, this variable controls the geocoding service that Metabase uses to know the location from where your users logged in. Setting this variable to false also disables this reverse geocoding functionality.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: true
Send email notifications to users in Admin group, when a new SSO users is created on Metabase.
Only available on Metabase Pro and Enterprise plans.
Type: string ("none"
, "lax"
, "strict"
)
Default: "lax"
When using FullApp embedding, and the embedding website is hosted under a domain other than the one your Metabase instance is hosted under, you most likely need to set it to "none"
.
Setting the variable to "none"
requires you to use HTTPS, otherwise browsers will reject the request.
Related to MB_EMBEDDING_APP_ORIGIN. Read more about FullApp Embedding.
Learn more about SameSite cookies: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Type: boolean
Default: null
When set to true
, the user login session will expire when the browser is closed. The user login session will always expire after the amount of time defined in MAX_SESSION_AGE (by default 2 weeks).
This overrides the "Remember me" checkbox when logging in.
Also see the Changing session expiration documentation page.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
Since: v44.0
Time before inactive users are logged out. By default, sessions last according to MAX_SESSION_AGE and MB_SESSION_COOKIES.
Has to be in the JSON format "{\"amount\":120,\"unit\":\"minutes\"}"
where the unit is one of "seconds", "minutes" or "hours".
Type: string
Default: null
An UUID token used to signify that an instance has permissions to create the initial User. This is created upon the first launch of Metabase, by the first instance; once used, it is cleared out, never to be used again.
Type: boolean
Default: null
Whether an introductory modal should be shown after the next database connection is added. Defaults to false if any non-default database has already finished syncing for this instance.
Type: boolean
Default: null
Hide the "Our data" section from the homepage by setting it to false
. Show the section with true
, in case it was manually removed.
Type: boolean
Default: null
Hide the X-rays section from the homepage by setting it to false
. Show the section with true
, in case it was manually removed. Even if set to true
, these will be hidden if any dashboards have been pinned in the "Our Analytics" collection.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: true
Since: v44.0
Display the lighthouse illustration on the home and login pages.
Only available on Metabase Pro and Enterprise plans.
Type: boolean
Default: true
Since: v44.0
Display the MetaBot character on the home page.
Type: string
Default: "en"
The default language for this Metabase instance. This setting applies to the Metabase UI, system emails, dashboard subscriptions, and alerts. People can override the default language from their account settings.
Type: string
Default: "Metabase"
The name used for this instance of Metabase.
Type: string
Default: null
The base URL where users access Metabase, e.g. https://metabase.example.com
or https://example.com/metabase
.
This URL is critical for things like SSO authentication, email links, embedding and more. Even difference with http://
vs https://
can cause problems. Make sure that the address defined is how Metabase is being accessed.
Type: string
Default: null
Since: v42.0
Slack API bearer token obtained from https://api.slack.com/web#authentication
In previous versions before v42.0, the variable MB_SLACK_TOKEN
was used, but that is deprecated and should not be used anymore.
Type: string
Default: "metabase_files"
Since: v42.0
Set the system files channel used by Metabase to store images. This channel has to be public, and is not intended to be used by humans. The Slack App has to be invited into this channel.
Type: string
Default: X-Forwarded-For
Identify the source of HTTP requests by this header's value, instead of its remote address. Related to MB_DISABLE_SESSION_THROTTLE.
Type: integer
Default: 500
Since: v41.1
Fetch size for result sets. We want to ensure that the JDBC ResultSet objects are not realizing the entire results in memory. Only applicable to some databases. Setting this too high can cause OutOfMemory, setting it too low can cause performance problems.
Type: integer
Default: 180
Controls how often the heartbeats are sent when an SSH tunnel is established (in seconds).
Type: string
Default: null
Base-64 encoded public key for this sites SSL certificate. Specify this to enable HTTP Public Key Pinning. Using HPKP is no longer recommended. See http://mzl.la/1EnfqBf for more information.
Type: string
Default: "sunday"
Since: v37.0
This will affect things like grouping by week or filtering in GUI queries. It won't affect most SQL queries, although it is used to set the WEEK_START session variable in Snowflake.
Only available on Metabase Pro and Enterprise plans.
Type: string
Default: null
Since: v41.0
Allowed email address domain(s) for new Subscriptions and Alerts. Specify multiple domain comma-separated. When not defined, all domains are allowed.