update lua and plugin path
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good

This commit is contained in:
Morgan McMillian 2024-04-16 17:51:22 -07:00
parent e9fcdb1ad6
commit c300ebac74
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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