Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker container for laverna note taking application
Full Description

Laverna docker container

Laverna is a note taking web application written in JavaScript. It's built to be an open source alternative to Evernote.
This is a Docker compose configuration to setup your own laverna server.


This setup includes:


  • supervisord
  • nginx (reverse proxy)


  • supervisord
  • nginx (web server)
  • laverna

Generate the certificates with letsencrypt

NOTE: these commands needs to be run on the docker host

  • Install dependencies

    # apt-get install nginx git bc
    # git clone /opt/letsencrypt
  • add the following lines to /etc/nginx/sites-available/default

    location ~ /.well-known {
          allow all;
  • restart nginx

    # systemctl restart nginx
  • request the certificate

    # cd /opt/letsencrypt
    # ./letsencrypt-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d
  • edit the docker-compose.yml config

    sed -i -e 's/' docker-compose.yml
  • generate strong DH group

    # openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048

Use the containers

Customize the nginx configuration:

$ cd laverna
$ vim proxy/sites-enabled/proxy

Install docker-compose and start the containers:

$ docker-compose up -d
Docker Pull Command
Source Repository