diff --git a/examples/vouchervault/README.md b/examples/vouchervault/README.md index f26c279..6faaa9b 100644 --- a/examples/vouchervault/README.md +++ b/examples/vouchervault/README.md @@ -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 ` 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 +````