diff options
author | lassulus <lassulus@lassul.us> | 2021-05-15 14:26:42 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-05-15 14:26:42 +0200 |
commit | 35aa5ac31dc35f2e14bfb3222ac33381a640ad89 (patch) | |
tree | 6a2babb27c771b7e16dca4c4a302fd6e10054e38 /makefu/2configs/bgt/etherpad.euer.krebsco.de.nix | |
parent | 7e018afe85af22916f070a242d9d1667791e3457 (diff) | |
parent | 5bf33d683cbf6f43599ae97aa1c56b1fd0d7d3f3 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/bgt/etherpad.euer.krebsco.de.nix')
-rw-r--r-- | makefu/2configs/bgt/etherpad.euer.krebsco.de.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/makefu/2configs/bgt/etherpad.euer.krebsco.de.nix b/makefu/2configs/bgt/etherpad.euer.krebsco.de.nix index 48b947c58..cf5b22bae 100644 --- a/makefu/2configs/bgt/etherpad.euer.krebsco.de.nix +++ b/makefu/2configs/bgt/etherpad.euer.krebsco.de.nix @@ -30,8 +30,12 @@ in { proxy_read_timeout 1799s; ''; }; - docker-containers."etherpad-lite" = { - image = "makefoo/bgt-etherpad:2020-05-02.6"; + 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 = "etherpad/etherpad:1.8.13"; ports = [ "127.0.0.1:${toString port}:9001" ]; volumes = [ "/var/src/secrets/etherpad/apikey:/opt/etherpad-lite/APIKEY.txt" @@ -46,7 +50,10 @@ in { #DB_PASS=mypassword environment = { # ADMIN_PASSWORD = "auf jeden fall nicht das echte admin passwort"; + # LOGLEVEL = "DEBUG"; + SUPPRESS_ERRORS_IN_PAD_TEXT = "true"; + TRUST_PROXY = "true"; TITLE = "Binärgewitter Etherpad"; SKIN_NAME = "no-skin"; DEFAULT_PAD_TEXT = builtins.replaceStrings ["\n"] ["\\n"] (builtins.readFile ./template.md); |