mirror of
https://github.com/usememos/memos.git
synced 2024-11-10 17:02:21 +08:00
* Add a line on README to help prevent a mistake (#893) * Update README.md Co-authored-by: boojack <stevenlgtm@gmail.com> Co-authored-by: boojack <stevenlgtm@gmail.com>
This commit is contained in:
parent
79180928d4
commit
62f53888ba
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue