You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. # -*- ispell-local-dictionary: "english" -*-
  2. #+TITLE: Etherpad Charm
  3. * Upgrade
  4. Based on https://github.com/ether/etherpad-lite , following:
  5. https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md
  6. Used:
  7. #+begin_src sh
  8. TAG=1.8.14
  9. git clone https://github.com/ether/etherpad-lite --depth 1 -b $TAG
  10. docker build --build-arg INSTALL_SOFFICE=1 \
  11. --build-arg ETHERPAD_PLUGINS=" \
  12. ep_font_family ep_mammoth ep_comments_page ep_table_of_contents \
  13. ep_markdown ep_image_upload ep_spellcheck ep_headings2 ep_align \
  14. ep_who_did_what ep_what_have_i_missed ep_embedmedia \
  15. ep_openid_connect ep_rss ep_git_commit_saved_revision" \
  16. . -t docker.0k.io/etherpad:${TAG}-0k
  17. docker push docker.0k.io/etherpad:${TAG}-0k
  18. #+end_src
  19. * Admin password
  20. We choose to NOT include admin panel as it allows to change settings
  21. and install plugins but this will not allow to reproduce an install
  22. easily. We can do this on the =compose.yml= side in a reproducible
  23. manner.
  24. * Actions
  25. ** list all pads
  26. #+begin_src sh
  27. compose list etherpad
  28. #+end_src
  29. ** drop a pad
  30. #+begin_src sh
  31. compose drop etherpad PAD_ID
  32. #+end_src