Why did mkIf decide not to work?
This commit is contained in:
parent
0fd4340177
commit
921831ea54
|
@ -18,7 +18,7 @@ let
|
||||||
ports = [ "${toString cfg.port}:3003" ];
|
ports = [ "${toString cfg.port}:3003" ];
|
||||||
restart = "always";
|
restart = "always";
|
||||||
volumes = [ "${cfg.state-directory}:/cache" ];
|
volumes = [ "${cfg.state-directory}:/cache" ];
|
||||||
environment = mkIf cfg.debug { IMMICH_LOG_LEVEL = "debug"; };
|
environment = { IMMICH_LOG_LEVEL = "debug"; };
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue