2022-02-06 11:26:53 +08:00
|
|
|
# Deploy `memos` with Docker
|
2022-01-17 08:42:36 +08:00
|
|
|
|
2022-02-06 11:26:53 +08:00
|
|
|
1. download the initialized db file:
|
2022-01-17 08:42:36 +08:00
|
|
|
|
|
|
|
```shell
|
|
|
|
mkdir ~/data
|
|
|
|
cd ~/data
|
2022-02-06 11:26:53 +08:00
|
|
|
wget --no-check-certificate https://github.com/justmemos/memos/blob/main/resources/memos-release.db?raw=true
|
2022-01-17 08:42:36 +08:00
|
|
|
```
|
|
|
|
|
2022-02-06 11:26:53 +08:00
|
|
|
2. pull and run docker image:
|
2022-01-17 08:42:36 +08:00
|
|
|
|
|
|
|
```docker
|
2022-02-06 11:26:53 +08:00
|
|
|
docker run --name memos --restart always --publish 8080:8080 --volume ~/path/to/your/data/:/var/opt/memos/ neosmemo/memos:next -mode release
|
2022-01-17 08:42:36 +08:00
|
|
|
```
|
|
|
|
|
2022-02-06 16:19:20 +08:00
|
|
|
The default user account is `guest` with password `secret`.
|