8 lines
333 B
Docker
8 lines
333 B
Docker
FROM grafana/grafana:4.4.3
|
|
ENV GF_DASHBOARDS_JSON_ENABLED true
|
|
ENV GF_DASHBOARDS_JSON_PATH /etc/grafana/dashboards/
|
|
COPY resource-usage-per-container.json /etc/grafana/dashboards/
|
|
COPY resource-usage-combined.json /etc/grafana/dashboards/
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x -v /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|