24 lines
442 B
Nix
Executable File
24 lines
442 B
Nix
Executable File
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.${namespace}.services.lubelogger;
|
|
in
|
|
{
|
|
imports = [
|
|
(lib.${namespace}.mkContainerService {
|
|
inherit config;
|
|
name = "lubelogger";
|
|
image = "ghcr.io/hargata/lubelogger";
|
|
internalPort = 8080;
|
|
volumes = [
|
|
"${cfg.configDir}/lubelogger:/App/data"
|
|
"${cfg.configDir}/lubelogger/keys:/root/.aspnet/DataProtection-Keys"
|
|
];
|
|
})
|
|
];
|
|
}
|