1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-02-01 13:17:51 +02:00

fix influxdb

This commit is contained in:
kev 2015-12-04 20:14:43 +08:00
parent 812d02c3fe
commit e7ba0cd042

View File

@ -13,12 +13,12 @@ RUN apt-get update \
&& apt-get install -y wget \
&& wget ${INFLUXDB_URL} \
&& dpkg -i ${INFLUXDB_FILE} \
&& sed -i '/^reporting-disabled/s/false/true/' /etc/opt/influxdb/influxdb.conf \
&& sed -i '/^reporting-disabled/s/false/true/' /etc/influxdb/influxdb.conf \
&& apt-get purge --auto-remove -y wget \
&& rm -rf ${INFLUXDB_FILE} \
/var/lib/apt/lists/*
VOLUME /var/opt/influxdb/
VOLUME /var/lib/influxdb/
EXPOSE 8083 8086 8088
CMD ["/opt/influxdb/influxd", "-config", "/etc/opt/influxdb/influxdb.conf"]
CMD ["influxd", "-config", "/etc/influxdb/influxdb.conf"]