Add MQTT listener

pull/32/head
Christophe Romain 5 years ago
parent 3261996e04
commit 276696e085

@ -74,7 +74,7 @@ ADD --chown=ejabberd:ejabberd https://download.process-one.net/cacert.pem conf/c
# Setup runtime environment
USER ejabberd
VOLUME ["$HOME/database","$HOME/conf","$HOME/logs"]
EXPOSE 5222 5269 5280 5443 4369-4399
EXPOSE 1883 4369-4399 5222 5269 5280 5443
ENTRYPOINT ["/home/ejabberd/bin/ejabberdctl"]
CMD ["foreground"]

@ -60,7 +60,6 @@ define_macro:
c2s_ciphers: CIPHERS_INTERMEDIATE
c2s_protocol_options: PROTOCOL_OPTIONS_INTERMEDIATE
listen:
-
port: 5222
@ -95,6 +94,11 @@ listen:
ip: "::"
module: ejabberd_http
web_admin: true
-
port: 1883
ip: "::"
module: mod_mqtt
backlog: 1000
s2s_use_starttls: optional
@ -199,6 +203,7 @@ modules:
## db_type: sql
## assume_mam_usage: true
## default: always
mod_mqtt: {}
mod_muc:
access:
- allow

Loading…
Cancel
Save