![]() Since loading from a config file is a paid feature: for new installations, you’ll need to supply Metabase with a token using the MB_PREMIUM_EMBEDDING_TOKEN environment variable. Loading a new Metabase from a config file Check out the list of environment variable to see what you can configure. The setting config-from-file-sync-database must come before the databases list, like so:īut you can set any of the Admin settings with the config file. To disable the initial database sync, you can add config-from-file-sync-database to the settings list and set the value to false. When loading a data model from a serialized export, you want to disable the scheduler so that the Metabase doesn’t try to sync. Metabase doesn’t support recursive expansion, so if one of your environment variables references another environment variable, you’re going to have a bad time. The config file is split up into sections: version and config. Settings set by environment variables cannot be changed, even in the Admin settings in the application itself. The config file settings are not treated as a hardcoded source of truth (like environment variables are). If, for example, a database already exists (that is, you’d already added it via the initial set up or Admin settings > Databases, Metabase will update the database entry based on the data in the config file). Settings defined in this configuration file will update any existing settings. Creating the RDS instance in the same region where your ECS instance is located gives you many. Choose your subscription type and select region. Go to and create a new RDS instance for PostgreSQL. ![]() The settings as defined in the config file work the same as if you set these settings in the Admin Settings in your Metabase. In this tutorial, we will use the PostgreSQL server from ApsaraDB for RDS to host the Metabase database. This file should either be in the current directory (the directory where the running Metabase JAR is located), or in a path specified by the MB_CONFIG_FILE_PATH environment variable. On some paid, self-hosted plans, Metabase supports initialization on launch from a config file named config.yml. Loading from a configuration file is only available on Pro and Enterprise plans (only on self-hosted plans).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |