Compare commits

..

3 Commits

Author SHA1 Message Date
me a72eb09c1f Change the path for the certs. 2026-06-19 08:37:01 -07:00
me 24dba3e2ed Check for certs and reload before starting the container. 2026-06-19 08:36:49 -07:00
me 730581c16d Move the certs to a different directory. 2026-06-19 08:35:54 -07:00
3 changed files with 9 additions and 5 deletions
+5 -1
View File
@@ -20,8 +20,12 @@ COPY ./etc/*.lua /etc/prosody/
COPY ./etc/conf.avail/* /etc/prosody/conf.d/
RUN rm -rfv /etc/prosody/README*
## Certs ##
RUN prosodyctl cert import /etc/letsencrypt/live
## Main ##
# Install + Run Website
WORKDIR /root
USER root
CMD tail -F /var/log/TBD
CMD prosodyctl reload & \
tail -F /var/log/prosody/*
+2 -2
View File
@@ -23,8 +23,8 @@ services:
# retries: 2
# start_period: 30s
volumes:
- ../../Volumes/Prosody/prosody:/root/share/
- ../../Volumes/ReverseProxy/letsencrypt/live:/etc/prosody/certs
- ../../Volumes/Prosody/data:/var/lib/prosody/
- ../../Volumes/ReverseProxy/letsencrypt/live:/etc/letsencrypt/live
deploy:
mode: global
resources:
@@ -8,8 +8,8 @@ VirtualHost "example.com"
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
--ssl = {
-- key = "/etc/prosody/certs/example.com/privkey.pem";
-- certificate = "/etc/prosody/certs/example.com/fullchain.pem";
-- key = "/etc/letsencrypt/live/example.com/privkey.pem";
-- certificate = "/etc/letsencrypt/live/example.com/fullchain.pem";
-- }
------ Components ------