docs: adjust readme

pull/26/head
LRVT 2024-08-05 10:30:19 +02:00 zatwierdzone przez GitHub
rodzic 1b1bab77a2
commit 5ddfe550f4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 12 dodań i 1 usunięć

Wyświetl plik

@ -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
````