2024-04-22 20:18:47 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.containers.oci.freshRSS.enable {
|
2024-04-22 20:18:47 -04:00
|
|
|
virtualisation.oci-containers.containers = {
|
|
|
|
freshrss = {
|
2024-06-26 22:13:02 -04:00
|
|
|
ports = ["0.0.0.0:${toString config.ar.containers.oci.freshRSS.port}:80"];
|
2024-04-22 20:18:47 -04:00
|
|
|
image = "freshrss/freshrss:latest";
|
|
|
|
environment = {
|
|
|
|
TZ = "America/New_York";
|
|
|
|
CRON_MIN = "1,31";
|
|
|
|
};
|
|
|
|
volumes = [
|
|
|
|
"freshrss_data:/var/www/FreshRSS/data"
|
|
|
|
"freshrss_extensions:/var/www/FreshRSS/extensions"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|