Add a module for rss-bridge

This commit is contained in:
Andreas Zweili 2022-11-02 11:30:13 +01:00
parent 4b2883f8cd
commit bdaf0c9504
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ ... }:
let
whitelist = builtins.toFile "whitelist.txt" ''*'';
in
{
virtualisation.oci-containers = {
backend = "docker";
containers."rss-brige" = {
image = "rssbridge/rss-bridge:latest";
autoStart = true;
ports = [
"8082:80"
];
volumes = [
"${whitelist}:/app/whitelist.txt"
];
};
};
}

View File

@ -11,6 +11,7 @@
"${inputs.self}/modules/nginx-acme-base"
"${inputs.self}/modules/docker"
"${inputs.self}/modules/haproxy"
"${inputs.self}/modules/rss-bridge"
];
services.nginx = {