Skip to content

Commit 5ddfe55

Browse files
authored
docs: adjust readme
1 parent 1b1bab7 commit 5ddfe55

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

examples/vouchervault/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,15 @@
55
# Notes
66

77
> [!WARNING]
8-
> 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.
8+
> The container runs as low-privileged `www-data` user. So you have to adjust the permissions for the persistent database bind mount volume.
9+
10+
````
11+
# create volume dir for persistence
12+
mkdir -p /mnt/docker-volumes/vouchervault/database
13+
14+
# adjust permissions
15+
sudo chown -R www-data:www-data /mnt/docker-volumes/vouchervault/*
16+
17+
# spawn the container stack
18+
docker compose up
19+
````

0 commit comments

Comments
 (0)