This commit is contained in:
soraefir
2026-05-11 02:29:11 +02:00
parent f05f7b0147
commit 123d18d1e8

View File

@@ -71,8 +71,8 @@ let
tag = etherpad_exe.version;
contents = with pkgs;[cacert tzdata bash coreutils curl settings ];
fakeRootCommands = ''
mkdir -p ./tmp
chmod 1777 ./tmp
mkdir -p /opt /tmp
chmod 1777 /opt /tmp
'';
config = {
Cmd = [ "${etherpad_exe}/bin/etherpad-lite" "--settings=/etc/etherpad/settings.json" "--apikey=\"$APIKEY\""];
@@ -80,6 +80,7 @@ let
ExposedPorts = { "${toString containerCfg.port}/tcp" = {}; };
Env = [
"NODE_ENV=production"
"HOME=/opt"
];
};