/etherpad-docker

A dockerfile for etherpad

Primary LanguageShellMIT LicenseMIT

About

Run Etherpad Lite inside a Docker container. This variant of an Etherpad Docker container is characterized by:

At run time:

  • Using SQLite as data backend.
  • Allow using persistent volumes for data, plugins and settings.
  • Create administration user with configurable password.
  • Choose between develop or stable version.
  • Using Abiword for import/export of DOC or PDF. ODF is not supported yet - it just crashes the abiword binary for unknown reason.

At image build time:

  • By default it uses the latest Etherpad Lite develop version.
  • Allows to install another Etherpad Lite version (by Git tag or branch).

Usage

Start an Etherpad Lite instance listening on TCP port 9001

docker run -p 9001:9001 fuerst/etherpad-docker

Set password for administration user named admin

docker run -p 9001:9001 \
  -e ETHERPAD_ADMIN_PASSWORD='my-secret-password' \
  fuerst/etherpad-docker

Make plugins, database and settings persistent

docker run -p 9001:9001 \
  -v /opt/etherpad-lite/var:/opt/etherpad-lite/var \
  -v /opt/etherpad-lite/node_modules:/opt/etherpad-lite/node_modules \
  fuerst/etherpad-docker

Run Etherpad Lite stable version (1.5.7)

At the time of writing stable means 1.5.7.

docker run -p 9001:9001 \
  fuerst/etherpad-docker:stable

Build another version

Only latest stable release (1.5.7) and develop are available from hub.docker.com. You may build any other release you want by specifying an etherpad-lite branch or tag when building your own image:

docker build -e ETHERPAD_VERSION='1.5.5' .