]> prime8.dev >> repos - p8d.git/commitdiff
Fix mail ssl
authorDamian Myrda <monkey.damianek@gmail.com>
Sat, 7 Sep 2024 20:09:39 +0000 (15:09 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Sat, 7 Sep 2024 20:09:39 +0000 (15:09 -0500)
compose.yml
mail/env

index 4d591a8b3b2b42dd2a4a4ba201dc78c7792c4c2f..858fa21033b050c3ade4454d6f7b966dfb82e126 100644 (file)
@@ -26,7 +26,7 @@ services:
       - ./mail/state/:/var/mail-state/
       - ./mail/logs/:/var/log/mail/
       - ./mail/config/:/tmp/docker-mailserver/
-      - ./web/data/:/etc/caddy/certificates/
+      - ./web/data/certificates/:/etc/certificates/
     cap_add:
       - NET_ADMIN
     healthcheck:
index 94baec796f1202b5d87333d36d2bd63e9060eaa4..149f5a300b94fdcbec385c1a68de7e4e083cdb08 100644 (file)
--- a/mail/env
+++ b/mail/env
@@ -242,8 +242,8 @@ SSL_TYPE=manual
 
 # These are only supported with `SSL_TYPE=manual`.
 # Provide the path to your cert and key files that you've mounted access to within the container.
-SSL_CERT_PATH=/etc/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.crt
-SSL_KEY_PATH=/etc/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.key
+SSL_CERT_PATH=/etc/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.crt
+SSL_KEY_PATH=/etc/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.key
 # Optional: A 2nd certificate can be supported as fallback (dual cert support), eg ECDSA with an RSA fallback.
 # Useful for additional compatibility with older MTA and MUA (eg pre-2015).
 SSL_ALT_CERT_PATH=