Public | Automated Build

Last pushed: 14 days ago
Short Description
Short description is empty for this repo.
Full Description

Etherpad Lite image for Docker

This is a fork of https://github.com/tvelocity/dockerfiles/etherpad-lite, which
installs Etherpad from the current Git repository instead of the latest release.

Bug fixes are frequent, but releases sparse.

Original description

This is a docker image for Etherpad Lite collaborative
text editor. The Dockerfile for this image has been inspired by the
official Wordpress Dockerfile and
johbo's etherpad-lite
image.

This image uses an mysql container for the backend for the pads. It is based
on debian jessie instead of the official node docker image, since the latest
stable version of etherpad-lite does not support npm 2.

About Etherpad Lite

From the official website:

Etherpad allows you to edit documents collaboratively in real-time, much like a live multi-player editor that runs in your browser. Write articles, press releases, to-do lists, etc. together with your friends, fellow students or colleagues, all working on the same document at the same time.

All instances provide access to all data through a well-documented API and supports import/export to many major data exchange formats. And if the built-in feature set isn't enough for you, there's tons of plugins that allow you to customize your instance to suit your needs.

You don't need to set up a server and install Etherpad in order to use it. Just pick one of publicly available instances that friendly people from everywhere around the world have set up. Alternatively, you can set up your own instance by following our installation guide

Quickstart

First you need a running mysql container, for example:

$ docker run -d -e MYSQL_ROOT_PASSWORD=password --name ep_mysql mysql

Finally you can start an instance of Etherpad Lite:

$ docker run -d --link=ep_mysql:mysql -p 9001:9001 nasqueron/etherpad

This will create an etherpad database to the mysql container, if it does not
already exist. You can now access Etherpad Lite from http://localhost:9001/

Environment variables

This image supports the following environment variables:

  • ETHERPAD_TITLE: Title of the Etherpad Lite instance. Defaults to "Etherpad".
  • ETHERPAD_PORT: Port of the Etherpad Lite instance. Defaults to 9001.
  • ETHERPAD_SESSION_KEY: Session key for the Etherpad Lite configuraition. You
    can set this in case of migrating from another installation. A value is
    automatically generated by default.

  • ETHERPAD_ADMIN_PASSWORD: If set, an admin account is enabled for Etherpad,
    and the /admin/ interface is accessible via it.

  • ETHERPAD_ADMIN_USER: If the admin password is set, this defaults to "admin".
    Otherwise the user can set it to another username.

  • ETHERPAD_DB_USER: By default Etherpad Lite will attempt to connect as root
    to the mysql container. This allows to change this.

  • ETHERPAD_DB_PASSWORD: The password for the mysql user. If the root user is
    used, then the password will default to the mysql container's
    MYSQL_ROOT_PASSWORD.
  • ETHERPAD_DB_NAME: The mysql database to use. Defaults to etherpad. If the
    database is not available, it will be created when the container is launched.

The generated settings.json file will be available as a volume under
/opt/etherpad-lite/var/.

Docker Pull Command
Owner
nasqueron
Source Repository

Comments (0)