Add debug flag
This commit is contained in:
parent
6644582774
commit
37b9b58ab1
@ -19,6 +19,7 @@ let
|
||||
ports = [ "${toString cfg.port}:3003" ];
|
||||
restart = "always";
|
||||
volumes = [ "${cfg.state-directory}:/cache" ];
|
||||
env = mkIf cfg.debug { IMMICH_LOG_LEVEL = "debug"; };
|
||||
};
|
||||
});
|
||||
|
||||
@ -47,6 +48,8 @@ in {
|
||||
description = "";
|
||||
};
|
||||
|
||||
debug = mkEnableOption "Enable debugging logs.";
|
||||
|
||||
# TODO: maybe have different types?
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user