From 5ddfe550f467b3dea7a66dc7f8939e57fba3a895 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:30:19 +0200 Subject: [PATCH] docs: adjust readme --- examples/vouchervault/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 +````