Git Product home page Git Product logo

alpine-etherpad's Introduction

Purpose

The intention of this repository is to provide a lightweight container running etherpad on alpine.

Build

In order to build this container, run the following command:

docker build -t burkeazbill/alpine-etherpad .

Run

Etherpad can be started from the command line of your docker host using the following command:

docker run -d --restart unless-stopped --name alpine-etherpad -v etherpad:/opt/etherpad/data -p 80:9001 burkeazbill/alpine-etherpad .

After that, you should be able to access etherpad at http://127.0.0.1 or http://localhost

Admin Login http://127.0.0.1/admin or http://localhost/admin

  • Default Username: admin
  • Default Password: changeme1
  • Username and passwords can be configured in the settings.json

NOTES:

  • If you already have a web server running on your Docker Host, change -p 80:9001 to an available port such as 82 like this: -p 82:9001
  • A persistent volume named etherpad gets created using the command line shown above to store the data file

To remove the persistent volume:

docker volume rm etherpad

To list persistent volumes:

docker volume ls

To view location and options of persistent volume:

docker volume inspect etherpad

Change Log

Version 1.2

  • Fixed issue that prevented admin login from working properly (incorrect settings.json was being used)
  • Updated Dockerfile to create symbolic link from /opt/etherpad/settings.json -> /opt/etherpad/data/settings.json to allow for custom settings to be presisted between containers
  • Updated sequence of Dockerfile commands to address issues above
  • Added more documentation to this page

Version 1.1

  • Updated Dockerfile to use multi-stage build - image size now 174MB
  • Added label for version

Version 1.0

  • Simple Alpine container running etherpad using development db type "dirty"
  • Container currently runs as root

To Do

  • Further consolidate image using multi-stage build (current size is 362MB vs debian-etherpad at 667MB)
  • Re-configure to run as a regular user instead of root
  • Provide options to use alternate db's
  • Provide options to use SSL
  • Write docker-compose.yaml

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.