added timezone
To use the correct timezone add TZ=<Zone> to your .env file
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user