ma bgt/etherpad: use vanilla etherpad

This commit is contained in:
makefu 2021-10-01 18:32:45 +02:00
parent 8b9a53d7e1
commit f2c051db9f
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -10,7 +10,7 @@ in {
'';
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${toString port}";
locations."/".proxyPass = "http://127.0.0.1:${toString port}";
# from https://github.com/ether/etherpad-lite/wiki/How-to-put-Etherpad-Lite-behind-a-reverse-Proxy
locations."/".extraConfig = ''
@ -32,10 +32,9 @@ in {
};
state = [ "/var/lib/docker/volumes/etherpad_data/_data/" ];
virtualisation.oci-containers.containers."etherpad-lite" = {
image = "makefoo/bgt-etherpad:2021-04-16.3"; # --build-arg ETHERPAD_PLUGINS="ep_markdown"
# ep_codepad does not work anymore
#image = "makefoo/bgt-etherpad:2021-04-16.3"; # --build-arg ETHERPAD_PLUGINS="ep_markdown"
image = "etherpad/etherpad:1.8.14";
#image = "etherpad/etherpad:1.8.13";
ports = [ "127.0.0.1:${toString port}:9001" ];
volumes = [
"/var/src/secrets/etherpad/apikey:/opt/etherpad-lite/APIKEY.txt"