From 0aee5512e65767dba7c1218f007f26272be9628e Mon Sep 17 00:00:00 2001 From: codedge Date: Wed, 19 Aug 2020 10:56:33 +0200 Subject: [PATCH] Updated Prerequisites (markdown) --- Prerequisites.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Prerequisites.md b/Prerequisites.md index 97b210f..2050e95 100644 --- a/Prerequisites.md +++ b/Prerequisites.md @@ -19,12 +19,12 @@ To make your data persistent, you have to mount `public` and `storage` from your You can create these folders wherever you want on your host system. -:warning: When using host mounted folder for persistence, make sure they are owned by the proper user and group. As we run Invoice Ninja without `root` , we use a separate user, the folders on the host system need to be owned by uid `1000` and a gid `101`. +:warning: When using host mounted folder for persistence, make sure they are owned by the proper user and group. As we run Invoice Ninja without `root` , we use a separate user, the folders on the host system need to be owned by uid `1000` and a gid `82` (`www-data` group). Run this on your host system ```shell -chown -R 1000:101 /var/invoiceninja/public /var/invoiceninja/storage +chown -R 1000:82 /var/invoiceninja/public /var/invoiceninja/storage ``` to apply the proper permission to the folders. This also applies to the `docker-compose` setup when using [bind-mounted host directories](https://github.com/invoiceninja/dockerfiles/blob/master/docker-compose.yml#L17).