mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
update nanomq
This commit is contained in:
parent
a5e0e7b26d
commit
60c581cf3f
@ -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"
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user