leanote/leanote-docker (github.com)
docker pull zxfishhack/leanote:2.6.1
docker create \
-v ~/leanote/conf:/usr/local/bin/leanote/conf \
-v ~/leanote/public:/usr/local/bin/leanote/public \
-v ~/leanote/mongo:/usr/local/bin/leanote/db_data \
-p 9000:9000 \ --name leanote \
idealclover/leanote
编译安装
mongodb_backup目录下
mongorestore -h localhost -d leanote --dir leanote_install_data/
bin/目录下
nohup bash run.sh &
本文作者:墨洺的文档
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!