Trilium Notes太复杂了,最后感觉还是leanote简单
导入了leanote初始化数据,映射27017端口
mongo
show dbs
use leanote
show collections
db.users.find()
可用http://www.kjson.com/encrypt/hash/?fm=map查看md5密码比对hash值
docker run -d --name leanote -p 9000:9000 comm/leanote:v2.6.2
保存自axboy/leanote 研究了半天奇怪的是本地回环和外网环境正常启动,但腾讯云就不行,测试了断网环境也可以启动,找不到原因
现象同https://github.com/leanote/leanote/issues/697 但原因应该不对
同步和网速有关,故使用了腾讯云反向代理externalip:9000,但要注意这样做的话客户端会存在请求不到图片的情况,需修改/data/leanote/conf/app.conf中site.url=http://腾讯云ip,并且修改后手机端同步功能也正常了。
Content type
Image
Digest
Size
174 MB
Last updated
almost 6 years ago
docker pull comm/leanote:2.6.1-clean