mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add grafana
This commit is contained in:
@@ -10,10 +10,11 @@ RUN apt-get update \
|
||||
&& wget https://s3.amazonaws.com/influxdb/influxdb_0.9.2_amd64.deb \
|
||||
&& dpkg -i influxdb_0.9.2_amd64.deb \
|
||||
&& sed -i '/^reporting-disabled/s/false/true/' /etc/opt/influxdb/influxdb.conf \
|
||||
&& rm influxdb_0.9.2_amd64.deb \
|
||||
&& apt-get purge --auto-remove -y wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& rm -rf influxdb_0.9.2_amd64.deb \
|
||||
/var/lib/apt/lists/*
|
||||
|
||||
VOLUME /var/opt/influxdb/
|
||||
EXPOSE 8083 8086 8088
|
||||
|
||||
CMD ["/opt/influxdb/influxd", "-config", "/etc/opt/influxdb/influxdb.conf"]
|
||||
|
||||
Reference in New Issue
Block a user