From bf96d21d20e9991394992ee90e7ecb5ccee5d6e0 Mon Sep 17 00:00:00 2001 From: Tom <392513+tborychowski@users.noreply.github.com> Date: Fri, 1 Jan 2021 22:06:03 +0000 Subject: [PATCH] fixes #5 --- apps/bookmarks/shaarli.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/apps/bookmarks/shaarli.md b/apps/bookmarks/shaarli.md index c24c73c..e27cf74 100644 --- a/apps/bookmarks/shaarli.md +++ b/apps/bookmarks/shaarli.md @@ -7,6 +7,20 @@ Not too bad. Just stores & tags links, nothing more. ![Screenshot](shaarli.png) +## Prerequisite +Because of the permission issues with using directory mounts instead of named volumes, the two folders need to be created before running the container: +```sh +mkdir cache data +``` +and their permissions must be changed to be writable by the shaarli user (Uid 100, Gid 101). The simplest and most convenient (but a bit less secure) is to change permissions to 777 (rwx for all): +```sh +chmod 777 cache/ data/ +``` +alternatively folders' owner can be changed to the UID 100: +```sh +sudo chown 100:101 cache/ data/ +``` + ## docker-compose.yml ```yml ---