One step closer to getting the Prosody server live. Create the bind dir and ensure certs are imported as root. Still not actually getting the certs, but having way less errors.

This commit is contained in:
2026-07-13 15:03:30 -07:00
parent a770eb00ef
commit 64415239ca
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ RUN rm -rfv /etc/prosody/README*
# Install + Run Website # Install + Run Website
WORKDIR /root WORKDIR /root
USER root USER root
CMD prosodyctl cert import /etc/letsencrypt/live && \ CMD prosodyctl --root cert import /etc/letsencrypt/live && \
service prosody start && \ service prosody start && \
prosodyctl reload && \ prosodyctl reload && \
tail -F /var/log/prosody/prosody.log & \ tail -F /var/log/prosody/prosody.log & \
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# 2026-07-13 Hyperling
# Create the necessary folders for volumes to work.
# This must be run before the container will start properly.
## Setup ##
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
source $DIR/.env
## Main ##
# Create folders.
mkdir -pv ../../Volumes/Prosody/data
# Finish successfully.
exit 0