dockerizn

This commit is contained in:
2020-07-30 19:27:05 +02:00
parent 8a8ec66be5
commit ab9d38d609
3 changed files with 7 additions and 7 deletions

View File

@@ -12,8 +12,8 @@ EXPOSE 1883
# Stats port
#EXPOSE 9090
ADD docker-entrypoint.sh /usr/bin/
ADD docker-entrypoint.sh /
ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/mosquitto", "-c", "/mosquitto/config/mosquitto.conf"]

View File

@@ -31,7 +31,7 @@ spec:
periodSeconds: 1
successThreshold: 1
tcpSocket:
port: 9090
port: 1883
timeoutSeconds: 1
ports:
- containerPort: 1883
@@ -50,11 +50,11 @@ spec:
timeoutSeconds: 1
resources:
limits:
cpu: 50m
memory: 24Mi
cpu: 100m
memory: 64Mi
requests:
cpu: 20m
memory: 10Mi
memory: 24Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
@@ -139,7 +139,7 @@ metadata:
release: mqtt
data:
mosquitto.conf: |-
log_dest stdout
log_dest none
port 1883
#listener 9090
#protocol websockets

0
apps/mosquitto/docker-entrypoint.sh Normal file → Executable file
View File