fixes
This commit is contained in:
@@ -8,7 +8,7 @@ let
|
|||||||
priority = toString (containerCfg.extra.priority or 2147482647);
|
priority = toString (containerCfg.extra.priority or 2147482647);
|
||||||
logoSvgFileName = builtins.baseNameOf (toString mediaCfg.logo.svg);
|
logoSvgFileName = builtins.baseNameOf (toString mediaCfg.logo.svg);
|
||||||
logoSvgMount = "/assets/${logoSvgFileName}";
|
logoSvgMount = "/assets/${logoSvgFileName}";
|
||||||
borderRadius = toString (containerCfg.extra.borderRadius or 32);
|
borderRadius = toString (containerCfg.extra.borderRadius or 16);
|
||||||
ensureAttrSet = field: value:
|
ensureAttrSet = field: value:
|
||||||
if builtins.isAttrs value then
|
if builtins.isAttrs value then
|
||||||
value
|
value
|
||||||
@@ -209,7 +209,7 @@ let
|
|||||||
pkgs.tzdata
|
pkgs.tzdata
|
||||||
];
|
];
|
||||||
config = {
|
config = {
|
||||||
Entrypoint = [ "${pythonEnv}/bin/python3" serverScript ];
|
Entrypoint = [ "${pythonEnv}/bin/python3" "-u" serverScript ];
|
||||||
ExposedPorts = { "${toString port}/tcp" = { }; };
|
ExposedPorts = { "${toString port}/tcp" = { }; };
|
||||||
WorkingDir = "/";
|
WorkingDir = "/";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user