diff --git a/modules/server/containers/defs/etherpad.nix b/modules/server/containers/defs/etherpad.nix index 8ff1fa3..df66653 100644 --- a/modules/server/containers/defs/etherpad.nix +++ b/modules/server/containers/defs/etherpad.nix @@ -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 = [