You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/docs/deploy/docker-deploy-guide.md

600 B

使用 Docker 部署

  1. 下载初始化数据库文件至本地 ~/data/memos.db,运行命令:

    mkdir ~/data
    cd ~/data
    wget --no-check-certificate https://github.com/justmemos/memos/blob/main/resources/memos.db?raw=true
    
  2. 创建并启动容器,镜像里包含所需的所有环境。只需自行 pull + run即可完成部署

    docker run --rm --pull always --name memos -p 8080:8080 -v ~/data/:/usr/local/memos/data/ -d neosmemo/memos
    

默认数据库内会有两个帐号,分别为 testguest ,密码均为 123456