From 64415239caf3b474a11e503922e24cf83ea36e65 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 13 Jul 2026 15:03:30 -0700 Subject: [PATCH] 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. --- Config/Prosody/Dockerfile | 2 +- Config/Prosody/prep.sh | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 Config/Prosody/prep.sh diff --git a/Config/Prosody/Dockerfile b/Config/Prosody/Dockerfile index feab4aa..4bbc425 100644 --- a/Config/Prosody/Dockerfile +++ b/Config/Prosody/Dockerfile @@ -24,7 +24,7 @@ RUN rm -rfv /etc/prosody/README* # Install + Run Website WORKDIR /root USER root -CMD prosodyctl cert import /etc/letsencrypt/live && \ +CMD prosodyctl --root cert import /etc/letsencrypt/live && \ service prosody start && \ prosodyctl reload && \ tail -F /var/log/prosody/prosody.log & \ diff --git a/Config/Prosody/prep.sh b/Config/Prosody/prep.sh new file mode 100755 index 0000000..e88c984 --- /dev/null +++ b/Config/Prosody/prep.sh @@ -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