Grafana Setup
Perform the steps described below in the /bioterm/bioterm/server/grafana/
directory.
Run the init.sh
script.
After completion, extract the authentik client ID and client secret for the grafana provider and manually insert them in the created .env
file.
Optionally, add the following lines for SMTP setup to the .env
file:
GF_SMTP_ENABLED: true
GF_SMTP_HOST:
GF_SMTP_USER:
GF_SMTP_PASSWORD:
GF_SMTP_FROM_ADDRESS:
Manually create the bind mount on the host and change the owner to user ‘472’:
$ sudo mkdir -p /srv/docker/grafana
$ sudo chown 472 /srv/docker/grafana
Then run
$ sudo docker compose up -d
to start the container.
By default, the local login (user: admin
, pw: see generated password in .env) can not login because the docker-compose.yml
sets GF_AUTH_OAUTH_AUTO_LOGIN: "true"
.
Note
Continue here, after finishing the setup of the backend and frontend.
Data Sources
PostgreSQL
Name |
|
---|---|
Default |
Enabled |
Host |
|
Database |
|
User |
|
Password |
|
TLS/SSL Mode |
disable |
Version |
12 |
TimescaleDB |
Enabled |
Min time interval |
|
Loki
Name |
|
---|---|
Default |
Disabled |
Host |
|
Prometheus
Name |
|
---|---|
Default |
Disabled |
Host |
|