1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

update nanomq

This commit is contained in:
kev 2024-07-22 11:58:43 +08:00
parent a5e0e7b26d
commit 60c581cf3f
2 changed files with 26 additions and 7 deletions

View File

@ -15,12 +15,12 @@ listeners.tcp {
}
# listeners.ssl {
# bind = "0.0.0.0:8883"
# keyfile = "/etc/certs/key.pem"
# certfile = "/etc/certs/cert.pem"
# cacertfile = "/etc/certs/cacert.pem"
# verify_peer = false
# fail_if_no_peer_cert = false
# bind = "0.0.0.0:8883"
# keyfile = "/etc/certs/key.pem"
# certfile = "/etc/certs/cert.pem"
# cacertfile = "/etc/certs/cacert.pem"
# verify_peer = false
# fail_if_no_peer_cert = false
# }
listeners.ws {
@ -77,3 +77,22 @@ sqlite {
# }
# ]
# }
# webhook = {
# url = "https://httpbin.org/post"
# headers.content-type = "application/json"
# body.encoding = "plain"
# pool_size = 32
# events = [
# {
# event = "on_client_connack"
# }
# {
# event = "on_client_disconnected"
# }
# {
# event = "on_message_publish"
# topic = "a/b/c"
# }
# ]
# }

View File

@ -1,7 +1,7 @@
version: "3.8"
services:
nanomq:
image: emqx/nanomq:0.21-full
image: emqx/nanomq:0.22-full
command: --conf /etc/nanomq/nanomq.conf
ports:
- "1883:1883" # mqtt