diff --git a/Dockerfile b/Dockerfile index 998249b..faea1d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,15 @@ RUN apt-get update && \ apt-get install ca-certificates extrepo -y && \ extrepo enable prosody && \ apt-get update && \ - apt-get install prosody prosody-modules -y + apt-get install prosody prosody-modules lua-luaossl -y RUN mkdir -p /run/prosody/ && \ chown -R prosody:prosody /run/prosody/ RUN mkdir -p /etc/prosody/conf.d/ +RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_cloud_notify_extensions + COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua EXPOSE 5222 diff --git a/prosody.cfg.lua b/prosody.cfg.lua index 96a0e86..4f4690c 100644 --- a/prosody.cfg.lua +++ b/prosody.cfg.lua @@ -72,7 +72,8 @@ modules_enabled = { "websocket"; -- XMPP over WebSockets -- Other specific functionality - "cloud_notify" + "cloud_notify"; + "cloud_notify_extensions"; --"announce"; -- Send announcement to all online users --"groups"; -- Shared roster support --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.