Skip to content

请问默认的数据文件目录是什么?谢谢 #64

Answered by boojack
shyshi asked this question in Q&A
Discussion options

You must be logged in to vote
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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@boojack
Comment options

@shyshi
Comment options

Answer selected by shyshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants