This repository has been archived on 2021-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Dockerfiles/unmaintened/etherpad
Dryusdan cdec85c358 update 2017-08-28 20:34:44 +02:00
..
Dockerfile update 2017-08-28 20:34:44 +02:00
README.md update 2017-08-28 20:34:44 +02:00
builder.sh update 2017-08-28 20:34:44 +02:00
entrypoint.sh update 2017-08-28 20:34:44 +02:00
settings.json update 2017-08-28 20:34:44 +02:00

README.md

Etherpad container with alpine and MyPads

  • Image build with Alpine
  • Build with MyPads extentions by default
  • Etherpad not run as roo

How this ?

Etherpad is a doc writter like Google Docs, but it self hosting, and customizable. With MyPads extentions to share, read and write doc easier.

How to get it ?

With docker pull : docker pull dryusdan/etherpad-mypad Or with Docker build : docker build -t dryusdan/etherpad-mypads https://github.com/Dryusdan/Dockerfiles.git#:etherpad

How to run it ?

To run it :

docker run \
--name pad \
-v /mnt/docker/pad/var:/etherpad/var:rw \
-v /mnt/docker/pad/node_modules:/etherpad/node_modules \
--restart always -d dryusdan/etherpad-mypad

By default, Etherpad launch on port 9000 But for more convenience, I recommend using a reverse proxy with this conf :

server {
    listen 8000;
    server_name localhost;
    include /conf.d/headers.conf;

    location / {
        proxy_pass http://etherpad/mypads/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

     location /p/ {
        proxy_pass http://etherpad/p/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

     location /static/ {
        proxy_pass http://etherpad/static/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

    location /mypads/ {
        proxy_pass http://etherpad/mypads/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

    location /admin/ {
        proxy_pass http://etherpad/admin/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

    location /socket.io/ {
        proxy_pass http://etherpad/socket.io/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

    location /locales.json {
        proxy_pass http://etherpad/locales.json;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

    location /javascripts/ {
        proxy_pass http://etherpad/javascripts/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

    location /pluginfw/ {
        proxy_pass http://etherpad/pluginfw/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

     location /locales/ {
        proxy_pass http://etherpad/locales/;
        proxy_read_timeout  3600;
        include /conf.d/proxy-params.conf;
    }

}