shaojingchao / leanote-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leanote-docker

leanote容器镜像生成

Build (非必须)

  1. curl -sL -o http://sourceforge.net/projects/leanote-bin/files/2.6.1/leanote-linux-amd64-v2.6.1.bin.tar.gz/download
  2. docker build -t zxfishhack/leanote:2.6.1 .

Use

运行环境要求:docker、docker-compose

运行步骤:

  1. 修改app.conf中的site.url,将其修改为leanote使用的域名:端口,默认监听启动机器的9001端口,如需变更,则修改docker-compose.yaml中的services.leanote.ports中的9001
  2. 将leanote仓库的mongodb_backup/leanote_install_data目录拷贝到当前目录
  3. docker-compose up -d

About


Languages

Language:Dockerfile 41.7%Language:Shell 29.8%Language:JavaScript 28.6%