yuki: init miniflux
This commit is contained in:
parent
0444fe424a
commit
358bc67e6e
3 changed files with 23 additions and 0 deletions
|
@ -7,5 +7,6 @@
|
|||
./searxng.nix
|
||||
./homarr.nix
|
||||
./dashdot.nix
|
||||
./miniflux.nix
|
||||
];
|
||||
}
|
||||
|
|
16
hosts/yuki/services/miniflux.nix
Normal file
16
hosts/yuki/services/miniflux.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
networking.firewall.allowedTCPPorts = [8200];
|
||||
sops.secrets.miniflux = {};
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
config = {
|
||||
DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
||||
LISTEN_ADDR = "localhost:8200";
|
||||
};
|
||||
adminCredentialsFile = config.sops.secrets.miniflux.path;
|
||||
};
|
||||
}
|
|
@ -35,6 +35,11 @@ _: {
|
|||
entrypoints = ["web"];
|
||||
service = "dashdot";
|
||||
};
|
||||
miniflux = {
|
||||
rule = "Host(`news.home.arpa`)";
|
||||
entrypoints = ["web"];
|
||||
service = "miniflux";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}];
|
||||
|
@ -42,6 +47,7 @@ _: {
|
|||
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
|
||||
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
|
||||
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||
miniflux.loadBalancer.servers = [{url = "http://localhost:8200";}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue