Sign inSign up

lightinglyg/leanote-docker

By lightinglyg

Updated over 9 years ago

move from leanote

Image
1

379

lightinglyg/leanote-docker repository overview

lenote-docker

How to build
docker build -t registry.cn-hangzhou.aliyuncs.com/firewarm/apps:leanote-2.2.1 .
How to run
1. modify app.conf

The configurations of leanote is stored in the file leanote/conf/app.conf.

One setting that you are strongly suggested to modify is app.secret, please change arbitrary number of digits of the string to something different, but keeping the string length unchanged. This is to avoid potential security issues.


db.host=127.0.0.1
db.port=27017

app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop1apoekx3xkcDVvrD0y #

2. run leanote
docker run -d -p 9000:9000 -v /your_conf_path:/usr/local/src/leanote/conf/app.conf  registry.cn-hangzhou.aliyuncs.com/firewarm/apps:leanote-2.3

eg.

docker run -d -p 9000:9000 -v /home/soft/leanote/conf/app.conf:/usr/local/src/leanote/conf/app.conf  registry.cn-hangzhou.aliyuncs.com/firewarm/apps:leanote-2.3

Tag summary

Content type

Image

Digest

Size

23.7 MB

Last updated

over 9 years ago

docker pull lightinglyg/leanote-docker:2.2.1-alpine