packed and ready to go

This commit is contained in:
2020-07-30 19:00:49 +02:00
parent ee39dc6c37
commit 8a8ec66be5
2 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
FROM debian:buster-slim 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 && \ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
mosquitto mosquitto-clients && \ mosquitto mosquitto-clients && \

View File

@@ -37,16 +37,16 @@ spec:
- containerPort: 1883 - containerPort: 1883
name: mqtt name: mqtt
protocol: TCP protocol: TCP
- containerPort: 9090 #- containerPort: 9090
name: websocket # name: websocket
protocol: TCP # protocol: TCP
readinessProbe: readinessProbe:
failureThreshold: 3 failureThreshold: 3
initialDelaySeconds: 3 initialDelaySeconds: 3
periodSeconds: 3 periodSeconds: 3
successThreshold: 1 successThreshold: 1
tcpSocket: tcpSocket:
port: 9090 port: 1883
timeoutSeconds: 1 timeoutSeconds: 1
resources: resources:
limits: limits:
@@ -140,9 +140,9 @@ metadata:
data: data:
mosquitto.conf: |- mosquitto.conf: |-
log_dest stdout log_dest stdout
listener 1883 port 1883
#listener 9090 #listener 9090
protocol websockets #protocol websockets
persistence true persistence true
persistence_location /mosquitto/data persistence_location /mosquitto/data