-
您好,采用 docker hub 里面的映像(https://registry.hub.docker.com/r/neosmemo/memos/) |
Beta Was this translation helpful? Give feedback.
Answered by
boojack
May 21, 2022
Replies: 1 comment 2 replies
-
docker run --name memos --publish 5230:8080 --volume ~/.memos/:/var/opt/memos -e mode=prod neosmemo/memos:0.0.1 当 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
shyshi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run --name memos --publish 5230:8080 --volume ~/.memos/:/var/opt/memos -e mode=prod neosmemo/memos:0.0.1
当
mode
指定为prod
时,数据库文件位置应该是在/var/opt/memos
,否则在/usr/local/memos
。