etherpad: update to v1.8.17
Following https://github.com/bigbluebutton/bigbluebutton/pull/14550 .
Also updated the settings.json file with https://github.com/ether/etherpad-lite/blob/1.8.17/settings.json.template .
Made sure to preserve BigBlueButton common settings and a couple of extras
that I imagine that made sense for the docker environment:
- ip: 0.0.0.0
BigBlueButton uses 127.0.0.1
/*
* IP and port which Etherpad should bind at.
*
* Binding to a Unix socket is also supported: just use an empty string for
* the ip, and put the full path to the socket in the port parameter.
*
* EXAMPLE USING UNIX SOCKET:
* "ip": "", // <-- has to be an empty string
* "port" : "/somepath/etherpad.socket", // <-- path to a Unix socket
*/
"ip": "0.0.0.0",
"port": 9001,
- host: redis
BigBlueButton uses 127.0.0.1
/*
* The type of the database.
*
* You can choose between many DB drivers, for example: dirty, postgres,
* sqlite, mysql.
*
* You shouldn't use "dirty" for for anything else than testing or
* development.
*
*
* Database specific settings are dependent on dbType, and go in dbSettings.
* Remember that since Etherpad 1.6.0 you can also store this information in
* credentials.json.
*
* For a complete list of the supported drivers, please refer to:
* https://www.npmjs.com/package/ueberdb2
*/
"dbType": "redis",
"dbSettings": {
"host": "redis",
"port": 6379
},
- soffice: /etherpad-export.sh
BigBlueButton uses /usr/share/bbb-libreoffice-conversion/etherpad-export.sh
/*
* This is the absolute path to the soffice executable.
*
* LibreOffice can be used in lieu of Abiword to export pads.
* Setting it to null disables LibreOffice exporting.
*/
"soffice": "/etherpad-export.sh",
- disableIPlogging: true
BigBlueButton uses false (Etherpad's default)
/*
* Privacy: disable IP logging
*/
"disableIPlogging": true,
- host: redis
BigBlueButton uses 127.0.0.1
/*
* Redis publisher plugin configuration.
* npm i git+https://git@github.com/mconf/ep_redis_publisher.git
*/
"ep_redis_publisher": {
"host": "redis",
"port": 6379
},
2022-03-08 18:00:57 +01:00
|
|
|
FROM etherpad/etherpad:1.8.17
|
2020-05-31 11:27:32 +02:00
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
RUN apt-get update \
|
2021-04-17 18:23:19 +02:00
|
|
|
&& apt-get install -y git curl
|
2020-05-31 11:27:32 +02:00
|
|
|
|
2020-10-21 19:26:01 +02:00
|
|
|
USER etherpad
|
2020-05-31 11:27:32 +02:00
|
|
|
|
2020-10-21 19:26:01 +02:00
|
|
|
RUN npm install \
|
2022-02-19 17:55:25 +01:00
|
|
|
ep_cursortrace@3.1.12 \
|
2022-03-08 17:25:31 +01:00
|
|
|
git+https://github.com/mconf/ep_pad_ttl.git#360136cd38493dd698435631f2373cbb7089082d \
|
|
|
|
git+https://github.com/mconf/ep_redis_publisher.git#1d903bf900dd53ebc5347f9583b6e240cf754d63 \
|
2022-02-19 17:55:25 +01:00
|
|
|
git+https://github.com/ether/ep_disable_chat.git#v0.0.4 \
|
2021-02-27 14:52:49 +01:00
|
|
|
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
|
|
|
|
&& rm package-lock.json
|
2020-05-31 11:27:32 +02:00
|
|
|
|
2020-10-21 19:26:01 +02:00
|
|
|
# add skin from git submodule
|
|
|
|
COPY --chown=etherpad:0 ./bbb-etherpad-skin /opt/etherpad-lite/src/static/skins/bigbluebutton
|
|
|
|
|
|
|
|
# add plugin from git submodule
|
|
|
|
COPY --chown=etherpad:0 ./bbb-etherpad-plugin /opt/etherpad-lite/node_modules/ep_bigbluebutton_patches
|
|
|
|
|
|
|
|
COPY settings.json /opt/etherpad-lite/settings.json
|
2021-04-17 18:23:19 +02:00
|
|
|
COPY etherpad-export.sh /etherpad-export.sh
|
2020-10-21 19:26:01 +02:00
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
2020-05-31 11:27:32 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|