Fix grafana config loading

For some reason, the env variable method stoped working.
This commit is contained in:
IamTheFij 2023-08-24 11:59:10 -07:00
parent 50507b2aa8
commit e2c35a82a9

View File

@ -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"
}