Compare commits

..

2 Commits

Author SHA1 Message Date
me e1a57645b7 Add functionality to copy the config files to the container. 2026-06-18 17:46:16 -07:00
me be1affb0b2 Refactor the Prosody config files. 2026-06-18 17:45:57 -07:00
7 changed files with 16 additions and 11 deletions
+9 -2
View File
@@ -8,8 +8,15 @@ FROM debian:trixie-slim
## Setup ##
# System Dependencies
RUN apt-get update && \
apt-get install -y prosody \
bash sudo htop
apt-get install -y prosody bash sudo htop
## Configuration Files ##
# Clear old configurations.
RUN rm -rfv /etc/prosody/conf.avail/*
# Add all the configuration files to the environment.
COPY ./etc/*.lua /etc/prosody/
COPY ./etc/conf.avail/* /etc/prosody/conf.avail/
RUN rm -rfv /etc/prosody/README*
## Main ##
# Install + Run Website
@@ -1,9 +0,0 @@
Prosody configuration directory
===============================
The configuration file /etc/prosody/prosody.cfg.lua should contain
only global settings.
Per-host configuration files should be placed in /etc/prosody/conf.avail/,
and the active ones should be linked in /etc/prosody/conf.d/
+7
View File
@@ -0,0 +1,7 @@
# Config/Prosody/etc
These files will be copied to /etc/prosody/* on the container.
Default example files are provided in the conf.avail directory and should not be modified.
Rather, copy the files named *.lua.dist to be renamed without .dist, then edit the .lua files as needed.