mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-09 13:47:10 +02:00
fix influxdb
This commit is contained in:
parent
812d02c3fe
commit
e7ba0cd042
@ -13,12 +13,12 @@ RUN apt-get update \
|
|||||||
&& apt-get install -y wget \
|
&& apt-get install -y wget \
|
||||||
&& wget ${INFLUXDB_URL} \
|
&& wget ${INFLUXDB_URL} \
|
||||||
&& dpkg -i ${INFLUXDB_FILE} \
|
&& 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 \
|
&& apt-get purge --auto-remove -y wget \
|
||||||
&& rm -rf ${INFLUXDB_FILE} \
|
&& rm -rf ${INFLUXDB_FILE} \
|
||||||
/var/lib/apt/lists/*
|
/var/lib/apt/lists/*
|
||||||
|
|
||||||
VOLUME /var/opt/influxdb/
|
VOLUME /var/lib/influxdb/
|
||||||
EXPOSE 8083 8086 8088
|
EXPOSE 8083 8086 8088
|
||||||
|
|
||||||
CMD ["/opt/influxdb/influxd", "-config", "/etc/opt/influxdb/influxdb.conf"]
|
CMD ["influxd", "-config", "/etc/influxdb/influxdb.conf"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user