ma bgt/etherpad: bump to latest version

This commit is contained in:
makefu 2021-05-15 13:08:41 +02:00
parent a888295ee6
commit ceaf0a09a2
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -30,8 +30,12 @@ in {
proxy_read_timeout 1799s; proxy_read_timeout 1799s;
''; '';
}; };
docker-containers."etherpad-lite" = { state = [ "/var/lib/docker/volumes/etherpad_data/_data/" ];
image = "makefoo/bgt-etherpad:2020-05-02.6"; 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" ]; 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"
@ -46,7 +50,10 @@ in {
#DB_PASS=mypassword #DB_PASS=mypassword
environment = { environment = {
# ADMIN_PASSWORD = "auf jeden fall nicht das echte admin passwort"; # ADMIN_PASSWORD = "auf jeden fall nicht das echte admin passwort";
# LOGLEVEL = "DEBUG";
SUPPRESS_ERRORS_IN_PAD_TEXT = "true"; SUPPRESS_ERRORS_IN_PAD_TEXT = "true";
TRUST_PROXY = "true";
TITLE = "Binärgewitter Etherpad"; TITLE = "Binärgewitter Etherpad";
SKIN_NAME = "no-skin"; SKIN_NAME = "no-skin";
DEFAULT_PAD_TEXT = builtins.replaceStrings ["\n"] ["\\n"] (builtins.readFile ./template.md); DEFAULT_PAD_TEXT = builtins.replaceStrings ["\n"] ["\\n"] (builtins.readFile ./template.md);