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/
|
||||
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/*
|
||||
|
||||
@@ -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 ------
|
||||
|
||||
Reference in New Issue
Block a user