mirror of
https://github.com/luzifer-docker/grafana.git
synced 2024-12-20 18:11:15 +00:00
24 lines
604 B
Docker
24 lines
604 B
Docker
FROM debian:jessie
|
|
|
|
ENV GRAFANA_VERSION 2.6.0
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y unzip libfontconfig wget adduser openssl ca-certificates \
|
|
&& wget https://grafanarel.s3.amazonaws.com/builds/grafana_${GRAFANA_VERSION}_amd64.deb \
|
|
&& dpkg -i grafana_${GRAFANA_VERSION}_amd64.deb
|
|
|
|
EXPOSE 3000
|
|
|
|
VOLUME ["/var/lib/grafana"]
|
|
VOLUME ["/var/log/grafana"]
|
|
VOLUME ["/etc/grafana"]
|
|
|
|
WORKDIR /usr/share/grafana
|
|
|
|
ENTRYPOINT ["/usr/sbin/grafana-server"]
|
|
CMD [ \
|
|
"--config", \
|
|
"/etc/grafana/grafana.ini", \
|
|
"cfg:default.paths.data=/var/lib/grafana", \
|
|
"cfg:default.paths.logs=/var/log/grafana" \
|
|
]
|