Skip to content

Commit 4d3034e

Browse files
committed
simplify the grafana docker config
1 parent bf1381b commit 4d3034e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

example/bytewax/compose.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ services:
4040
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
4141
GF_INSTALL_PLUGINS: timeplus-proton-datasource
4242
volumes:
43-
- ./grafana_provisioning:/etc/grafana/provisioning
44-
- ./grafana_provisioning/dashboards:/var/lib/grafana/dashboards
43+
- ./grafana_provisioning:/etc/grafana/provisioning
4544
depends_on:
4645
- proton
4746

example/bytewax/grafana_provisioning/dashboards/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ providers:
1616
# <int> how often Grafana will scan for changed dashboards
1717
updateIntervalSeconds: 10
1818
# <bool> allow updating provisioned dashboards from the UI
19-
allowUiUpdates: false
19+
allowUiUpdates: true
2020
options:
2121
# <string, required> path to dashboard files on disk. Required when using the 'file' type
22-
path: /var/lib/grafana/dashboards
22+
path: /etc/grafana/provisioning/dashboards
2323
# <bool> use folder names from filesystem to create folders in Grafana
2424
foldersFromFilesStructure: true

0 commit comments

Comments
 (0)