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
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 && \

View File

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