dockerizn
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
0
apps/mosquitto/docker-entrypoint.sh
Normal file → Executable file
Reference in New Issue
Block a user