fix(passbolt): persist GPG keyring as volume to survive restarts
Passbolt's entrypoint creates /var/lib/passbolt/.gnupg/pubring.kbx as root while PHP-FPM runs as www-data. Without a volume this file is recreated with wrong ownership on every container recreate, breaking all GPG operations. Mounting the dir as a volume keeps the chown 33:33 fix permanent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ../.data/passbolt/gpg:/etc/passbolt/gpg
|
- ../.data/passbolt/gpg:/etc/passbolt/gpg
|
||||||
- ../.data/passbolt/jwt:/etc/passbolt/jwt
|
- ../.data/passbolt/jwt:/etc/passbolt/jwt
|
||||||
|
- ../.data/passbolt/gnupg:/var/lib/passbolt/.gnupg
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user