Compare commits
3 Commits
c0adab4830
...
a72eb09c1f
| Author | SHA1 | Date | |
|---|---|---|---|
| a72eb09c1f | |||
| 24dba3e2ed | |||
| 730581c16d |
@@ -20,8 +20,12 @@ COPY ./etc/*.lua /etc/prosody/
|
|||||||
COPY ./etc/conf.avail/* /etc/prosody/conf.d/
|
COPY ./etc/conf.avail/* /etc/prosody/conf.d/
|
||||||
RUN rm -rfv /etc/prosody/README*
|
RUN rm -rfv /etc/prosody/README*
|
||||||
|
|
||||||
|
## Certs ##
|
||||||
|
RUN prosodyctl cert import /etc/letsencrypt/live
|
||||||
|
|
||||||
## Main ##
|
## Main ##
|
||||||
# Install + Run Website
|
# Install + Run Website
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
USER root
|
USER root
|
||||||
CMD tail -F /var/log/TBD
|
CMD prosodyctl reload & \
|
||||||
|
tail -F /var/log/prosody/*
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ services:
|
|||||||
# retries: 2
|
# retries: 2
|
||||||
# start_period: 30s
|
# start_period: 30s
|
||||||
volumes:
|
volumes:
|
||||||
- ../../Volumes/Prosody/prosody:/root/share/
|
- ../../Volumes/Prosody/data:/var/lib/prosody/
|
||||||
- ../../Volumes/ReverseProxy/letsencrypt/live:/etc/prosody/certs
|
- ../../Volumes/ReverseProxy/letsencrypt/live:/etc/letsencrypt/live
|
||||||
deploy:
|
deploy:
|
||||||
mode: global
|
mode: global
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ VirtualHost "example.com"
|
|||||||
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
|
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
|
||||||
-- use the global one.
|
-- use the global one.
|
||||||
--ssl = {
|
--ssl = {
|
||||||
-- key = "/etc/prosody/certs/example.com/privkey.pem";
|
-- key = "/etc/letsencrypt/live/example.com/privkey.pem";
|
||||||
-- certificate = "/etc/prosody/certs/example.com/fullchain.pem";
|
-- certificate = "/etc/letsencrypt/live/example.com/fullchain.pem";
|
||||||
-- }
|
-- }
|
||||||
|
|
||||||
------ Components ------
|
------ Components ------
|
||||||
|
|||||||
Reference in New Issue
Block a user