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