docker-compose build
sudo mkdir -p ./data/{conf,files,upload}
sudo cp -r conf ./data
docker-compose up -d
To enable wkhtmltopdf, update binary path in admin settings.
/usr/bin/wkhtmltopdf
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)