From 333df5ca4a798879460e3ffc1d2c6aa598efbe88 Mon Sep 17 00:00:00 2001 From: mguschin Date: Sun, 1 Mar 2026 19:55:56 +0300 Subject: [PATCH] Mount only xmpp cert dirs to fix letsencrypt permission errors Mount specific live/ and archive/ subdirectories instead of all of /etc/letsencrypt to avoid Prosody scanning root-only directories (accounts/, archive/ for other domains). Also remove allow_registration. Co-Authored-By: Claude Opus 4.6 --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6978e4e..c62d00b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,8 @@ services: - ./data/prosody:/var/lib/prosody - ./logs/prosody:/var/log/prosody - ./data/prosody/configuration:/etc/prosody/conf.d - - /etc/letsencrypt:/etc/prosody/certs/letsencrypt:ro + - /etc/letsencrypt/live/xmpp.guschin.info:/etc/prosody/certs/letsencrypt/live/xmpp.guschin.info:ro + - /etc/letsencrypt/archive/xmpp.guschin.info:/etc/prosody/certs/letsencrypt/archive/xmpp.guschin.info:ro restart: unless-stopped mem_limit: 200M healthcheck: