mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
11 lines
359 B
Docker
11 lines
359 B
Docker
FROM grafana/grafana
|
|
|
|
COPY ./dashboards /etc/grafana/dashboards
|
|
USER root
|
|
|
|
# Replace every instrance of ${DS_PROMETHEUS} with "prometheusuid"
|
|
# Grafana doesn't let us do this in provisioning, so we do it ourselves.
|
|
RUN sed -i 's/${DS_PROMETHEUS}/prometheusuid/g' /etc/grafana/dashboards/*/*.json
|
|
RUN cat /etc/grafana/dashboards/swarm/swarm.json
|
|
USER grafana
|