Fix grafana config loading
For some reason, the env variable method stoped working.
This commit is contained in:
parent
50507b2aa8
commit
e2c35a82a9
@ -144,12 +144,12 @@ SELECT 'NOOP';
|
||||
|
||||
config {
|
||||
image = "grafana/grafana:9.4.2"
|
||||
args = ["--config", "$${NOMAD_ALLOC_DIR}/config/grafana.ini"]
|
||||
ports = ["web"]
|
||||
}
|
||||
|
||||
env = {
|
||||
"GF_INSTALL_PLUGINS" = "grafana-clock-panel,grafana-piechart-panel,grafana-polystat-panel,natel-discrete-panel",
|
||||
"GF_PATHS_CONFIG" = "$${NOMAD_ALLOC_DIR}/config/grafana.ini"
|
||||
"GF_PATHS_PROVISIONING" = "$${NOMAD_ALLOC_DIR}/config/provisioning"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user