This commit is contained in:
soraefir
2026-05-09 10:50:25 +02:00
parent 57efc58bc2
commit 21adca1fbc

View File

@@ -7,11 +7,13 @@ let
contents = with pkgs;[ etherpad-lite bash coreutils cacert curl ];
fakeRootCommands = ''
mkdir -p ./var/lib/etherpad
chown -R 5001:5001 ./var/lib/etherpad
chown -R 1000:1000 ./var/lib/etherpad
mkdir -p ./tmp
chmod 1777 ./tmp
'';
config = {
Cmd = [ "${pkgs.etherpad-lite}/bin/etherpad-lite" ];
User = "5001:5001";
User = "1000:1000";
WorkingDir = "/var/lib/etherpad";
ExposedPorts = { "${toString containerCfg.port}/tcp" = {}; };
Env = [