From e7ba0cd0426a0f363add1aa3e2dc90da4de3f2a7 Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 4 Dec 2015 20:14:43 +0800 Subject: [PATCH] fix influxdb --- influxdb/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/influxdb/Dockerfile b/influxdb/Dockerfile index d16e039..71bf745 100644 --- a/influxdb/Dockerfile +++ b/influxdb/Dockerfile @@ -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"]