Commit 43575e6f authored by Steven's avatar Steven

chore: update readme

parent 89f9dc56
...@@ -26,27 +26,17 @@ ...@@ -26,27 +26,17 @@
## 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 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
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. See [the example `docker-compose.yaml`](./docker-compose.yaml) file.
## Development ## Development
......
...@@ -7,4 +7,3 @@ services: ...@@ -7,4 +7,3 @@ services:
- ~/.memos/:/var/opt/memos - ~/.memos/:/var/opt/memos
ports: ports:
- 5230:5230 - 5230:5230
restart: unless-stopped
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment