Giter Site home page Giter Site logo

leanote's Introduction

Leanote Docker Image

All data is in /leanote/data volume. We can mount local data folder for this volume. More details from this wiki

Supported tags and respective Dockerfile links

About full-featured images

The latest and full-featured image contain wkhtmltopdf for export pdf.

How to use this image

1. Initial mongo data

Click here

2. Update mongo config in app.conf

Download app.conf from Here

Then update mongo section:

# mongdb
db.host=127.0.0.1
db.port=27017
db.dbname=leanote # required
db.username= # if not exists, please leave it blank
db.password= # if not exists, please leave it blank
# or you can set the mongodb url for more complex needs the format is:
# mongodb://myuser:mypass@localhost:40001,otherhost:40001/mydb
# db.url=mongodb://root:root123@localhost:27017/leanote
# db.urlEnv=${MONGODB_URL} # set url from env. eg. mongodb://root:root123@localhost:27017/leanote

3. Create data folder

mkdir -p leanote-data/{files,mongodb_backup,public/upload}

4. Edit docker-compose.yml

version: '2'
services:
  leanote:
    image: jim3ma/leanote:full-featured-2.4
    network_mode: "host"
    volumes:
      - ./leanote-data:/leanote/data
      - ./app.conf:/leanote/conf/app.conf
    restart: always

5. docker-compose up -d

leanote's People

Contributors

kingarthurxu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.