mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Grafana update to 10.1.2 (#3455)
* Grafana Update to 10.1.2 * add a hint on why 10.1.2 is chosen
This commit is contained in:
+6
-14
@@ -1,29 +1,21 @@
|
||||
FROM grafana/grafana:9.5.10
|
||||
# Ensure selecting a tag that is available for ARMv7
|
||||
# https://hub.docker.com/r/grafana/grafana/tags
|
||||
# https://grafana.com/blog/2023/09/29/grafana-and-grafana-enterprise-updates-for-armv6-and-armv7-will-be-temporarily-paused/
|
||||
FROM grafana/grafana:10.1.2
|
||||
|
||||
ENV GF_ANALYTICS_REPORTING_ENABLED=FALSE \
|
||||
ENV GF_ANALYTICS_REPORTING_ENABLED=false \
|
||||
GF_AUTH_ANONYMOUS_ENABLED=false \
|
||||
GF_AUTH_BASIC_ENABLED=false \
|
||||
GF_PATHS_PLUGINS="/var/lib/grafana-plugins" \
|
||||
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=natel-discrete-panel,pr0ps-trackmap-panel,panodata-map-panel,natel-plotly-panel \
|
||||
GF_SECURITY_ADMIN_PASSWORD=admin \
|
||||
GF_SECURITY_ADMIN_USER=admin \
|
||||
GF_SECURITY_ALLOW_EMBEDDING=true \
|
||||
GF_SECURITY_DISABLE_GRAVATAR=true \
|
||||
GF_SECURITY_ANGULAR_SUPPORT_ENABLED=false \
|
||||
GF_USERS_ALLOW_SIGN_UP=false \
|
||||
GF_ANALYTICS_REPORTING_ENABLED=FALSE \
|
||||
DATABASE_PORT=5432
|
||||
|
||||
USER root
|
||||
|
||||
RUN mkdir -p "$GF_PATHS_PLUGINS" && \
|
||||
chown -R grafana "$GF_PATHS_PLUGINS"
|
||||
|
||||
USER grafana
|
||||
|
||||
RUN grafana-cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install pr0ps-trackmap-panel 2.1.4 && \
|
||||
grafana-cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install natel-plotly-panel 0.0.7 && \
|
||||
grafana-cli --pluginsDir "${GF_PATHS_PLUGINS}" --pluginUrl https://github.com/panodata/panodata-map-panel/releases/download/0.16.0/panodata-map-panel-0.16.0.zip plugins install grafana-worldmap-panel-ng
|
||||
|
||||
COPY logo.svg /usr/share/grafana/public/img/grafana_icon.svg
|
||||
COPY favicon.png /usr/share/grafana/public/img/fav32.png
|
||||
COPY apple-touch-icon.png /usr/share/grafana/public/img/apple-touch-icon.png
|
||||
|
||||
Reference in New Issue
Block a user