From 7b4ec8fbaea288cffc8b54edb672c843840b8ac3 Mon Sep 17 00:00:00 2001 From: Craig Peterson <192540+captncraig@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:41:11 -0500 Subject: [PATCH] add deploy mode to docker image --- cmd/grafana-agent/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/grafana-agent/Dockerfile b/cmd/grafana-agent/Dockerfile index f03bd4efdfd0..7c9c3ae0661a 100644 --- a/cmd/grafana-agent/Dockerfile +++ b/cmd/grafana-agent/Dockerfile @@ -47,4 +47,5 @@ COPY cmd/grafana-agent/agent-local-config.yaml /etc/agent/agent.yaml ENTRYPOINT ["/bin/grafana-agent"] +ENV AGENT_DEPLOY_MODE=docker CMD ["--config.file=/etc/agent/agent.yaml", "--metrics.wal-directory=/etc/agent/data"]