mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-27 22:11:12 +00:00
docs: adjust readme
This commit is contained in:
parent
1b1bab77a2
commit
5ddfe550f4
|
@ -5,4 +5,15 @@
|
||||||
# Notes
|
# Notes
|
||||||
|
|
||||||
> [!WARNING]
|
> [!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
|
||||||
|
````
|
||||||
|
|
Loading…
Reference in New Issue
Block a user