docker build -t registry.cn-hangzhou.aliyuncs.com/firewarm/apps:leanote-2.2.1 .
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 #
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
Content type
Image
Digest
Size
23.7 MB
Last updated
over 9 years ago
docker pull lightinglyg/leanote-docker:2.2.1-alpine