mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-08-23 03:33:55 +00:00
fixes #5
This commit is contained in:
parent
50648565b0
commit
bf96d21d20
@ -7,6 +7,20 @@ Not too bad. Just stores & tags links, nothing more.
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
## 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
|
## docker-compose.yml
|
||||||
```yml
|
```yml
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user