This commit is contained in:
soraefir
2026-05-11 02:32:08 +02:00
parent 123d18d1e8
commit 458a9091d4

View File

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