Compare commits
2 Commits
1a21c67a2f
...
e1a57645b7
| Author | SHA1 | Date | |
|---|---|---|---|
| e1a57645b7 | |||
| be1affb0b2 |
@@ -8,8 +8,15 @@ FROM debian:trixie-slim
|
|||||||
## Setup ##
|
## Setup ##
|
||||||
# System Dependencies
|
# System Dependencies
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y prosody \
|
apt-get install -y prosody bash sudo htop
|
||||||
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 ##
|
## Main ##
|
||||||
# Install + Run Website
|
# 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/
|
|
||||||
|
|
||||||
@@ -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.
|
||||||
Reference in New Issue
Block a user