mirror of
https://github.com/usememos/memos.git
synced 2025-03-24 22:50:16 +01:00
18 lines
492 B
Markdown
18 lines
492 B
Markdown
# Deploy `memos` with Docker
|
|
|
|
1. download the initialized db file:
|
|
|
|
```shell
|
|
mkdir ~/data
|
|
cd ~/data
|
|
wget --no-check-certificate https://github.com/justmemos/memos/blob/main/resources/memos-release.db?raw=true
|
|
```
|
|
|
|
2. pull and run docker image:
|
|
|
|
```docker
|
|
docker run --name memos --publish 8080:8080 --volume ~/path/to/your/data/:/var/opt/memos -e mode=release -e data=/var/opt/memos neosmemo/memos:next
|
|
```
|
|
|
|
The default user account is `guest` with password `secret`.
|