diff --git a/Dockerfile b/Dockerfile index faea1d2..c131a5e 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 lua-luaossl -y + apt-get install prosody prosody-modules lua5.4 liblua5.4-dev lua-luaossl -y RUN mkdir -p /run/prosody/ && \ chown -R prosody:prosody /run/prosody/ RUN mkdir -p /etc/prosody/conf.d/ +RUN update-alternatives --set lua-interpreter /usr/bin/lua5.4 + RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_cloud_notify_extensions COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua diff --git a/prosody.cfg.lua b/prosody.cfg.lua index 4f4690c..11ae58b 100644 --- a/prosody.cfg.lua +++ b/prosody.cfg.lua @@ -25,7 +25,7 @@ admins = { } -- This option allows you to specify additional locations where Prosody -- will search first for modules. For additional modules you can install, see -- the community module repository at https://modules.prosody.im/ ---plugin_paths = {} +plugin_paths = { "/var/lib/prosody/custom_plugins" } -- This is the list of modules Prosody will load on startup. -- Documentation for bundled modules can be found at: https://prosody.im/doc/modules