Initial commit

This commit is contained in:
Oliver Hattshire 2025-10-20 09:09:50 -03:00
commit 936153fa99
8 changed files with 220 additions and 0 deletions

13
images/prosody/entrypoint.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
cp -r /config/prosody.cfg.lua /config/conf.d/ /etc/prosody/
mkdir -p /run/prosody
mkdir -p /var/www
chown -fR prosody:prosody /run/prosody /var/www
chmod 755 -R /etc/prosody
prosodyctl --root cert import /etc/letsencrypt/live
/usr/sbin/anacron -d &
runuser -u prosody /usr/bin/prosody $@ 2>&1