docs: adjust readme

This commit is contained in:
LRVT 2024-08-05 10:30:19 +02:00 committed by GitHub
parent 1b1bab77a2
commit 5ddfe550f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,4 +5,15 @@
# 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. A command like `sudo chown -R www-data:www-data <path-to-volume-data-dir>` should work. Afterwards, please restart the container.
> The container runs as low-privileged `www-data` user. 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/*
# spawn the container stack
docker compose up
````