mirror of
https://github.com/usememos/memos.git
synced 2025-02-24 13:26:29 +08:00
chore: update readme
This commit is contained in:
parent
89f9dc5640
commit
43575e6f54
2 changed files with 5 additions and 16 deletions
20
README.md
20
README.md
|
@ -26,28 +26,18 @@
|
||||||
|
|
||||||
## Deploy with Docker
|
## Deploy with Docker
|
||||||
|
|
||||||
#### Docker Run
|
### Docker Run
|
||||||
|
|
||||||
```docker
|
```docker
|
||||||
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
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Docker Compose
|
|
||||||
|
|
||||||
```
|
|
||||||
version: "3.0"
|
|
||||||
services:
|
|
||||||
memos:
|
|
||||||
image: neosmemo/memos:latest
|
|
||||||
container_name: memos
|
|
||||||
volumes:
|
|
||||||
- ~/.memos/:/var/opt/memos
|
|
||||||
ports:
|
|
||||||
- 5230:5230
|
|
||||||
```
|
|
||||||
|
|
||||||
Memos should 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 should 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.
|
||||||
|
|
||||||
|
### Docker Compose
|
||||||
|
|
||||||
|
See [the example `docker-compose.yaml`](./docker-compose.yaml) file.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
Memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:
|
Memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:
|
||||||
|
|
|
@ -7,4 +7,3 @@ services:
|
||||||
- ~/.memos/:/var/opt/memos
|
- ~/.memos/:/var/opt/memos
|
||||||
ports:
|
ports:
|
||||||
- 5230:5230
|
- 5230:5230
|
||||||
restart: unless-stopped
|
|
Loading…
Reference in a new issue