From 62f53888bafe546da44779aa050da526f81cc1b4 Mon Sep 17 00:00:00 2001 From: helaxious Date: Tue, 3 Jan 2023 11:40:53 -0300 Subject: [PATCH] feat: update docker command description (#893) (#900) * Add a line on README to help prevent a mistake (#893) * Update README.md Co-authored-by: boojack Co-authored-by: boojack --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 54d855c6..44f7539c 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:latest ``` +> The `~/.memos/` will be used as the data directory in your machine. And `/var/opt/memos` is the directory of the volume in docker and should not be modified. + If the `~/.memos/` does not have a `memos_prod.db` file, then memos will auto generate it. Memos will be running at [http://localhost:5230](http://localhost:5230). ### Docker Compose