ma bgt/etherpad: use vanilla etherpad
This commit is contained in:
parent
8b9a53d7e1
commit
f2c051db9f
@ -10,7 +10,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = 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
|
# from https://github.com/ether/etherpad-lite/wiki/How-to-put-Etherpad-Lite-behind-a-reverse-Proxy
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
|
|
||||||
@ -32,10 +32,9 @@ in {
|
|||||||
};
|
};
|
||||||
state = [ "/var/lib/docker/volumes/etherpad_data/_data/" ];
|
state = [ "/var/lib/docker/volumes/etherpad_data/_data/" ];
|
||||||
virtualisation.oci-containers.containers."etherpad-lite" = {
|
virtualisation.oci-containers.containers."etherpad-lite" = {
|
||||||
image = "makefoo/bgt-etherpad:2021-04-16.3"; # --build-arg ETHERPAD_PLUGINS="ep_markdown"
|
#image = "makefoo/bgt-etherpad:2021-04-16.3"; # --build-arg ETHERPAD_PLUGINS="ep_markdown"
|
||||||
# ep_codepad does not work anymore
|
image = "etherpad/etherpad:1.8.14";
|
||||||
|
|
||||||
#image = "etherpad/etherpad:1.8.13";
|
|
||||||
ports = [ "127.0.0.1:${toString port}:9001" ];
|
ports = [ "127.0.0.1:${toString port}:9001" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/src/secrets/etherpad/apikey:/opt/etherpad-lite/APIKEY.txt"
|
"/var/src/secrets/etherpad/apikey:/opt/etherpad-lite/APIKEY.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user