mirror of
https://github.com/usememos/memos.git
synced 2025-02-19 12:50:41 +01: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
@ -31,6 +31,8 @@
|
|||||||
docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:latest
|
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).
|
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
|
### Docker Compose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user