Add a module for rss-bridge
This commit is contained in:
parent
4b2883f8cd
commit
bdaf0c9504
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue