Skip to content

mis4s/leanote-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Leanote

docker-compose build

sudo mkdir -p ./data/{conf,files,upload}
sudo cp -r conf ./data
docker-compose up -d

wkhtmltopdf

To enable wkhtmltopdf, update binary path in admin settings.

/usr/bin/wkhtmltopdf

First run

You need to migrate application (first run only). To do this, you need mongorestore.

docker exec -ti leanotedocker_server_1 sh

apk upgrade --update
apk add --update mongodb-tools
mongorestore -h db -d leanote --dir mongodb_backup/leanote_install_data
apk del --purge mongodb-tools

exit

Note that the imported database contains 2 user accounts by default

user1 username: admin, password: abc123 (administrator, used for backend management and control)  
user2 username: [email protected], password: [email protected] (for demonstration purposes)

Releases

No releases published

Packages

No packages published