Skip to content

cwiggs/meemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meemo on Docker

Lightweight Meemo 1.9.2 server with database on Docker with docker-compose

Manage your todo list, bookmarks and data in the Markdown format with Meemo

Docker Meemo

Docker build: Docker Build Status

Meemo build (external): Build Status

GitHub last commit GitHub commit activity GitHub issues

Docker Pulls Docker Stars Docker Automated

Image size Image version

Donate PayPal

Image size RAM usage CPU usage
103MB 70MB Low

It is based on:

It also depends on a MongoDB database which is launched with Docker Compose.

Setup

  1. Ensure Docker and Docker-Compose are installed

  2. On your host machine, create the following files and directories

    # users file
    touch users.json
    # data and database directory
    mkdir data database
    # set ownership to map container user ID 1000
    chown 1000 users.json data database
    # set permissions
    chmod 400 mkdir
    chmod 700 data database
  3. CLICK IF YOU HAVE AN ARM DEVICE

    • If you have a ARM 32 bit v6 architecture

      docker build -t qmcgaw/meemo \
      --build-arg BASE_IMAGE=arm32v6/alpine \
      https://github.com/qdm12/meemo.git
    • If you have a ARM 32 bit v7 architecture

      docker build -t qmcgaw/meemo \
      --build-arg BASE_IMAGE=arm32v7/alpine \
      https://github.com/qdm12/meemo.git
    • If you have a ARM 64 bit v8 architecture

      docker build -t qmcgaw/meemo \
      --build-arg BASE_IMAGE=arm64v8/alpine \
      https://github.com/qdm12/meemo.git

  4. Download docker-compose.yml on your host, modify it as you wish:

    wget https://raw.githubusercontent.com/qdm12/meemo/master/docker-compose.yml
    vi docker-compose.yml
    # For ARM, you might change the mongo image to an ARM mongo image
  5. Launch the MongoDB database and Meemo container with

    docker-compose up -d
  6. You can check logs with

    docker-compose logs -f
  7. Meemo is at localhost:3000 (depending on your mapped port in docker-compose.yml)

Configuration

Provided your Meemo container is still named meemo, the shell script commands.sh can be executed on your host.

The following options are provided:

  • List users

    ./commands.sh ls
  • Add user

    ./commands.sh add username password
  • Edit user

    ./commands.sh edit username password
  • Remove user

    ./commands.sh remove username

All the changes are saved to users.json

Environment variables

Environment variable Default Description
PORT 3000 TCP port to listen on internally (should not be changed)
BIND_ADDRESS 0.0.0.0 (all) Address to listen on internally (should not be changed)
APP_ORIGIN http://localhost Used to share tasks etc.
MONGODB_URL mongodb://mongodb:27017/meemo Location of the Mongo database (should not be changed)
ATTACHMENT_DIR /data Attachment storage directory (should not be changed)
LOCAL_AUTH_FILE /users.conf Users configuration file location (should not be changed)
NODE_ENV production Should not be changed

TODOs

  • Mail environment variables & test
  • LDAP environment variables & test
  • Build binary meemo + Scratch container

License

This repository is under an MIT license

About

Run a lightweight Meemo server with database on Docker with docker-compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 53.2%
  • Shell 46.8%