docker: fix DKIM key permission denied on bind-mounted volumes

chown the entire /etc/acmekeys directory
This commit is contained in:
j4n
2026-02-17 14:27:20 +01:00
parent feecf6affd
commit bafbaa1b81
2 changed files with 5 additions and 3 deletions

View File

@@ -15,7 +15,9 @@ services:
# - ./data/chatmail-dkimkeys:/etc/dkimkeys
# - ./data/chatmail-acme:/var/lib/acme
## Or mount data from an existing bare-metal install:
## Or mount data from an existing bare-metal install.
## Note: DKIM key ownership is fixed automatically on startup
## (the host's opendkim UID may differ from the container's).
# - /home/vmail:/home/vmail
# - /etc/dkimkeys:/etc/dkimkeys
# - /var/lib/acme:/var/lib/acme