ma bgt/etherpad: use vanilla etherpad
This commit is contained in:
parent
8b9a53d7e1
commit
f2c051db9f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user