Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64415239ca | |||
| a770eb00ef |
@@ -48,6 +48,8 @@ STAGE-*
|
||||
# Ignore copies of the Hugo configuration, such as "Config/Hugo-MyWebsite".
|
||||
Hugo-*
|
||||
*-Hugo
|
||||
hugo-*
|
||||
*-hugo
|
||||
|
||||
# Ignore Prod and Dev copies as well.
|
||||
*-Prod
|
||||
|
||||
@@ -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 & \
|
||||
|
||||
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