From c300ebac74a35172f034fa3d75990584ae339631 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Tue, 16 Apr 2024 17:51:22 -0700 Subject: [PATCH] update lua and plugin path --- Dockerfile | 4 +++- prosody.cfg.lua | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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