mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
refactored file
This commit is contained in:
parent
d3361be972
commit
8785aabac6
|
@ -17,13 +17,6 @@ in
|
|||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers = {
|
||||
flaresolverr = {
|
||||
ports = [ "8191:8191" ];
|
||||
image = "ghcr.io/flaresolverr/flaresolverr:latest";
|
||||
environment = {
|
||||
"LOG_LEVEL" = "info";
|
||||
};
|
||||
};
|
||||
#TODO: move to Nix crafty controller bundle
|
||||
crafty-controller = {
|
||||
image = "registry.gitlab.com/crafty-controller/crafty-4:latest";
|
||||
|
@ -44,16 +37,6 @@ in
|
|||
"TZ" = "Europe/Paris";
|
||||
};
|
||||
};
|
||||
freshrss = {
|
||||
image = "lscr.io/linuxserver/freshrss:latest";
|
||||
volumes = [ "/srv/freshrss/config:/config" ];
|
||||
ports = [ "8888:80" ];
|
||||
environment = {
|
||||
"PUID" = "1000";
|
||||
"GUID" = "1000";
|
||||
"TZ" = "Europe/Paris";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
9
features/containers/default.nix
Normal file
9
features/containers/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./crafty-controller.nix
|
||||
./flaresolverr.nix
|
||||
./freshrss.nix
|
||||
];
|
||||
}
|
16
features/containers/flaresolverr.nix
Normal file
16
features/containers/flaresolverr.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers = {
|
||||
flaresolverr = {
|
||||
ports = [ "8191:8191" ];
|
||||
image = "ghcr.io/flaresolverr/flaresolverr:latest";
|
||||
environment = {
|
||||
"LOG_LEVEL" = "info";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
18
features/containers/freshrss.nix
Normal file
18
features/containers/freshrss.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
{
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers = {
|
||||
freshrss = {
|
||||
image = "lscr.io/linuxserver/freshrss:latest";
|
||||
volumes = [ "/srv/freshrss/config:/config" ];
|
||||
ports = [ "8888:80" ];
|
||||
environment = {
|
||||
"PUID" = "1000";
|
||||
"GUID" = "1000";
|
||||
"TZ" = "Europe/Paris";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue