@@ -29,7 +29,7 @@ Grafana has a number of configuration options that you can specify in a `.ini` c
...
@@ -29,7 +29,7 @@ Grafana has a number of configuration options that you can specify in a `.ini` c
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. 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. This path is specified in the Grafana init.d script using `--config` file parameter.
### Docker
### Docker
Refer to [Configure a Grafana Docker image]({{<relref"configure-docker.md">}}) for information about environmental variables, persistent storage, and building custom Docker images.
Refer to [Configure a Grafana Docker image]({{<relref"../installation/configure-docker.md">}}) for information about environmental variables, persistent storage, and building custom Docker images.
### Windows
### Windows
`sample.ini` is in the same directory as `defaults.ini` and contains all the settings commented out. Copy `sample.ini` and name it `custom.ini`.
`sample.ini` is in the same directory as `defaults.ini` and contains all the settings commented out. Copy `sample.ini` and name it `custom.ini`.
If you are running Grafana in a Docker image, then you configure Grafana using [environment variables]({{<relref"configuration.md#configure-with-environment-variables">}}) rather than directly editing the configuration file. If you want to save your data, then you also need to designate persistent storage or bind mounts for the Grafana container.
If you are running Grafana in a Docker image, then you configure Grafana using [environment variables]({{<relref"../administration/configuration.md#configure-with-environment-variables">}}) rather than directly editing the configuration file. If you want to save your data, then you also need to designate persistent storage or bind mounts for the Grafana container.
@@ -168,4 +168,4 @@ Refer to the [Getting Started]({{< relref "../getting-started/getting-started/"
...
@@ -168,4 +168,4 @@ Refer to the [Getting Started]({{< relref "../getting-started/getting-started/"
## Configure Grafana
## Configure Grafana
Refer to the [Configuration]({{<relref"configuration.md">}}) page for details on options for customizing your environment, logging, database, and so on.
Refer to the [Configuration]({{<relref"../administration/configuration.md">}}) page for details on options for customizing your environment, logging, database, and so on.
@@ -225,4 +225,4 @@ Refer to [Configure a Grafana Docker image]({{< relref "configure-docker.md" >}}
...
@@ -225,4 +225,4 @@ Refer to [Configure a Grafana Docker image]({{< relref "configure-docker.md" >}}
## Configure Grafana
## Configure Grafana
Refer to the [Configuration]({{<relref"configuration.md">}}) page for details on options for customizing your environment, logging, database, and so on.
Refer to the [Configuration]({{<relref"../administration/configuration.md">}}) page for details on options for customizing your environment, logging, database, and so on.
@@ -206,4 +206,4 @@ Refer to the [Getting Started]({{< relref "../getting-started/getting-started/"
...
@@ -206,4 +206,4 @@ Refer to the [Getting Started]({{< relref "../getting-started/getting-started/"
## Configure Grafana
## Configure Grafana
Refer to the [Configuration]({{<relref"configuration.md">}}) page for details on options for customizing your environment, logging, database, and so on.
Refer to the [Configuration]({{<relref"../administration/configuration.md">}}) page for details on options for customizing your environment, logging, database, and so on.
@@ -49,4 +49,4 @@ To run Grafana, open your browser and go to the Grafana port (http://localhost:3
...
@@ -49,4 +49,4 @@ To run Grafana, open your browser and go to the Grafana port (http://localhost:3
>
>
> 1. Go into the `conf` directory and copy `sample.ini` to `custom.ini`. **Note:** You should edit `custom.ini`, never `defaults.ini`.
> 1. Go into the `conf` directory and copy `sample.ini` to `custom.ini`. **Note:** You should edit `custom.ini`, never `defaults.ini`.
> 1. Edit `custom.ini` and uncomment the `http_port` configuration option (`;` is the comment character in ini files) and change it to something like `8080` or similar. That port should not require extra Windows privileges.
> 1. Edit `custom.ini` and uncomment the `http_port` configuration option (`;` is the comment character in ini files) and change it to something like `8080` or similar. That port should not require extra Windows privileges.
> Read more about the [configuration options]({{< relref "configuration.md" >}}).
> Read more about the [configuration options]({{< relref "../administration/configuration.md" >}}).