Skip to content

wwj718/leanote-dockerfile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leanote Dockerfile

LEANOTE is a notebook platform, which you can host by yourself.

Leanote, Not Just A Notebook!

Build

git clone https://github.com/moenayuki/leanote-dockerfile.git && cd leanote-dockerfile
docker build --tag="leanote:1.0b3" .

Prepare

Please modify conf/app.conf to meet your demands. Focusing on these:

  • site.url
  • app.secret

There's no need to modify the settings of db - They're done in addUser.js and start.sh. Check these two files if you want to do more customization like a boss.

Run

docker run -v <YOUR DATABASE DIR>:/root/notedata -v <YOUR CONF DIR>:/root/leanote/conf -p <YOUR PORT>:80 -d --name leanote leanote:1.0b3

Known issue

The container's initial start may fail. You can manually

docker start leanote

again to let it work properly. Wondering why. Please fix it if you find out the reason.

About

Dockerfile for leanote.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.9%
  • JavaScript 6.1%