2022-11-03 23:32:45 +01:00
|
|
|
{ ... }:
|
2022-11-02 11:30:13 +01:00
|
|
|
let
|
|
|
|
whitelist = builtins.toFile "whitelist.txt" ''*'';
|
|
|
|
in
|
|
|
|
{
|
|
|
|
virtualisation.oci-containers = {
|
|
|
|
backend = "docker";
|
2022-12-27 15:07:43 +01:00
|
|
|
containers."rss-bridge" = {
|
2023-02-27 11:50:59 +01:00
|
|
|
# https://hub.docker.com/r/rssbridge/rss-bridge/tags
|
2023-03-20 17:19:51 +01:00
|
|
|
image = "rssbridge/rss-bridge@sha256:aa82c581d09cbafd17f27da050236302492c0cf6f0af04121a26aebb23cd37ce";
|
2022-11-02 11:30:13 +01:00
|
|
|
autoStart = true;
|
|
|
|
ports = [
|
|
|
|
"8082:80"
|
|
|
|
];
|
|
|
|
volumes = [
|
|
|
|
"${whitelist}:/app/whitelist.txt"
|
2022-11-15 16:21:23 +01:00
|
|
|
"/etc/localtime:/etc/localtime:ro"
|
2022-11-02 11:30:13 +01:00
|
|
|
];
|
2023-03-03 17:57:48 +01:00
|
|
|
extraOptions = [
|
|
|
|
"--log-opt=tag='rss-brige'"
|
|
|
|
];
|
2022-11-02 11:30:13 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|