docs: Update README.md

This commit is contained in:
LRVT 2025-03-26 19:48:12 +01:00 committed by GitHub
parent 101ebd6283
commit 14fd42e0f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,14 +6,14 @@
# Notes
> [!WARNING]
> The container runs as low-privileged `www-data` user. So you have to adjust the permissions for the persistent database bind mount volume.
> The container runs as low-privileged `www-data` user (UID/GID 33). So you have to adjust the permissions for the persistent database bind mount volume.
````
# create volume dir for persistence
mkdir -p /mnt/docker-volumes/vouchervault/database
# adjust permissions
sudo chown -R www-data:www-data /mnt/docker-volumes/vouchervault/*
sudo chown -R 33:33 /mnt/docker-volumes/vouchervault/*
# spawn the container stack
docker compose up