Skip to content

Commit

Permalink
add deploy mode to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
captncraig committed Nov 15, 2023
1 parent 539c01f commit 7b4ec8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/grafana-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 7b4ec8f

Please sign in to comment.