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".
|
# Ignore copies of the Hugo configuration, such as "Config/Hugo-MyWebsite".
|
||||||
Hugo-*
|
Hugo-*
|
||||||
*-Hugo
|
*-Hugo
|
||||||
|
hugo-*
|
||||||
|
*-hugo
|
||||||
|
|
||||||
# Ignore Prod and Dev copies as well.
|
# Ignore Prod and Dev copies as well.
|
||||||
*-Prod
|
*-Prod
|
||||||
|
|||||||
@@ -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