no persistence for mqtt

This commit is contained in:
2020-08-04 22:52:01 +02:00
parent ab9d38d609
commit bd39f27f04
2 changed files with 4 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
FROM debian:buster-slim
#RUN echo 'Acquire::http::proxy "http://172.23.255.1:3142";' >/etc/apt/apt.conf.d/proxy
RUN echo 'Acquire::http::proxy "http://172.23.255.1:3142";' >/etc/apt/apt.conf.d/proxy
RUN apt-get update && \
apt-get install -y --no-install-recommends \
mosquitto mosquitto-clients && \
mosquitto mosquitto-clients procps && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

View File

@@ -141,8 +141,6 @@ data:
mosquitto.conf: |-
log_dest none
port 1883
#listener 9090
#protocol websockets
persistence true
persistence_location /mosquitto/data
persistence false
persistence_location /mosquitto/data/