diff --git a/README.md b/README.md index 2764439..5b4d142 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,23 @@ Get container ID from name (used in other scripts) ## Separate code and data -The default misskey docker install guide will place misskey code and your instance data in the same directory. Is something goes wrong on a later time, you may accidentally trash your datas. +The default misskey docker install guide will place misskey code and your instance data in the same directory. Is something goes wrong on a later time, you may accidentally trash your datas (docker volumes mounted for the postgres database, redis cache...). + +Separate the misskey code (git clone...) from you container's volumes, something like this should do: +``` +/usr/local/misskey/code +/usr/local/misskey/data +``` + +You will need a custom yaml file for docker-compose, but it's worth it (see sample yaml file). + +Manage your misskey instance containers with docker-compose and the right path for code and datas: +``` +docker-compose --project-directory=/usr/local/misskey/data -f /usr/local/misskey/data/.yml +``` + +# Ressources list: + +## misskey-arm64.yml: + +A docker-compose yaml file, for an arm64 (raspberry pi, VPS arm instances)