no persistence for mqtt
This commit is contained in:
@@ -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/*
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user