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:
@@ -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 & \
|
||||||
|
|||||||
Executable
+17
@@ -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
|
||||||
Reference in New Issue
Block a user