kopolt.blogg.se

Homebrew postgres data directory
Homebrew postgres data directory









homebrew postgres data directory

This path is usually specified via command line in the init.d script or the systemd service file. Path to where Grafana stores the sqlite3 database (if used), file-based sessions (if used), and other data. force_migrationįorce migration will run migrations that might cause data loss. If any of your options contains the expression $_, which will be replaced withĮnvironment variable HOSTNAME, if that is empty or does not exist Grafana will try to use system calls to get the machine name. You can override variables on Linux machines with: export GF_DEFAULT_INSTANCE_NAME=my-instanceĮxport GF_AUTH_GOOGLE_CLIENT_SECRET=newS3cretKeyĮxport GF_PLUGIN_GRAFANA_IMAGE_RENDERER_RENDERING_IGNORE_HTTPS_ERRORS=trueĮxport GF_FEATURE_TOGGLES_ENABLE=newNavigation For example, if you have these configuration settings: # default section Where the section name is the text within the brackets. Instead, use environmental variables to override existing options. Override configuration with environment variablesĭo not use environment variables to add new configuration settings. You must uncomment each line in the custom.ini or the grafana.ini file that you are modify by removing from the beginning of that line. Grafana uses semicolons (the char) to comment out lines in a. Otherwise, add a configuration file named custom.ini to the conf folder to override the settings defined in conf/defaults.ini. For a Grafana instance installed using Homebrew, edit the grafana.ini file directly. macOSīy default, the configuration file is located at /usr/local/etc/grafana/grafana.ini. It contains all the settings commented out. On Windows, the sample.ini file is located in the same directory as defaults.ini file. Refer to Configure a Grafana Docker image for information about environmental variables, persistent storage, and building custom Docker images. This path is specified in the Grafana init.d script using -config file parameter. If you installed Grafana using the deb or rpm packages, then your configuration file is located at /etc/grafana/grafana.ini and a separate custom.ini is not used. The custom configuration file path can be overridden using the -config parameter. Do not change this file.ĭepending on your OS, your custom configuration file is either the $WORKING_DIR/conf/defaults.ini file or the /usr/local/etc/grafana/grafana.ini file. The default settings for a Grafana instance are stored in the $WORKING_DIR/conf/defaults.ini file. Restart Grafana for your changes to take effect. Note: After you add custom options, uncomment the relevant sections of the configuration file.











Homebrew postgres data directory