added timezone

To use the correct timezone add TZ=<Zone> to your .env file
This commit is contained in:
2026-07-10 01:22:21 +02:00
parent 7dfd090fc7
commit a14b405491
2 changed files with 7 additions and 0 deletions

View File

@@ -35,6 +35,10 @@ GRAFANA_ADMIN_PASSWORD=changeme
# Optional: seconds between ping iterations (default 5) # Optional: seconds between ping iterations (default 5)
#PING_INTERVAL=5 #PING_INTERVAL=5
# Optional: timezone for dashboard labels computed in SQL, e.g. the
# hourly/weekday patterns and the raw data table (default UTC)
#TZ=Europe/Berlin
``` ```
Start the containers: Start the containers:

View File

@@ -49,6 +49,9 @@ services:
- GF_AUTH_ANONYMOUS_ORG_NAME=Main Org. - GF_AUTH_ANONYMOUS_ORG_NAME=Main Org.
- GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer - GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer
- GF_AUTH_ANONYMOUS_HIDE_VERSION=true - GF_AUTH_ANONYMOUS_HIDE_VERSION=true
# SQL-computed labels (patterns, raw table, SLA day grouping) use SQLite's
# 'localtime', which resolves to this container's timezone.
- TZ=${TZ:-Etc/UTC}
volumes: volumes:
# :ro because any Grafana viewer (incl. anonymous) can send arbitrary SQL # :ro because any Grafana viewer (incl. anonymous) can send arbitrary SQL
# to the datasource API; the mount and mode=ro keep that harmless. # to the datasource API; the mount and mode=ro keep that harmless.