memos 轻量级笔记服务

https://github.com/usememos/memos

docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:stable

The ~/.memos/ directory will be used as the data directory on your local machine,
while /var/opt/memos is the directory of the volume in Docker and should not be modified.

ls ~/memos/memos
assets 用于存储上传到资源库的文件
memos_prod.db 用于存储个人的用户数据,方便数据迁移


http://localhost:5230

如何升级到最新稳定版
# 1.stop and remove the old container
docker stop memos && docker rm memos

# 2.back up your database
cp -r ~/.memos/memos_prod.db ~/.memos/memos_prod.db.bak

# 3.pull the latest memos image
docker pull neosmemo/memos:stable

posted @ 2024-03-26 11:10  vicowong  阅读(60)  评论(0编辑  收藏  举报