hosts: move miniflux to sakura
This commit is contained in:
parent
c10fefd8a7
commit
212b9f7abc
7 changed files with 13 additions and 12 deletions
|
@ -118,7 +118,6 @@
|
||||||
"prowlarr.internal.flake.sh" = "192.168.1.54";
|
"prowlarr.internal.flake.sh" = "192.168.1.54";
|
||||||
"stash.internal.flake.sh" = "192.168.1.98";
|
"stash.internal.flake.sh" = "192.168.1.98";
|
||||||
"nextcloud.internal.flake.sh" = "192.168.1.199";
|
"nextcloud.internal.flake.sh" = "192.168.1.199";
|
||||||
"news.internal.flake.sh" = "192.168.1.98";
|
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
|
||||||
|
|
|
@ -10,5 +10,6 @@
|
||||||
./conduit.nix
|
./conduit.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./justlog.nix
|
./justlog.nix
|
||||||
|
./miniflux.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
networking.firewall.allowedTCPPorts = [9000];
|
|
||||||
|
|
||||||
sops.secrets.miniflux = {};
|
sops.secrets.miniflux = {};
|
||||||
|
|
||||||
services.miniflux = {
|
services.miniflux = {
|
||||||
|
@ -13,7 +11,10 @@
|
||||||
config = {
|
config = {
|
||||||
LISTEN_ADDR = "0.0.0.0";
|
LISTEN_ADDR = "0.0.0.0";
|
||||||
PORT = 9000;
|
PORT = 9000;
|
||||||
DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
BASE_URL = "https://rss.flake.sh";
|
||||||
|
HTTPS = "true";
|
||||||
|
WEBAUTHN = "true";
|
||||||
|
DATABASE_URL = lib.mkForce "host=100.94.214.100 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -30,6 +30,5 @@
|
||||||
};
|
};
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
ATTR{address}=="96:00:02:c2:dc:83", NAME="eth0"
|
ATTR{address}=="96:00:02:c2:dc:83", NAME="eth0"
|
||||||
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,6 +160,13 @@
|
||||||
tls.domains = [{main = "*.flake.sh";}];
|
tls.domains = [{main = "*.flake.sh";}];
|
||||||
tls.certresolver = "production";
|
tls.certresolver = "production";
|
||||||
};
|
};
|
||||||
|
miniflux = {
|
||||||
|
rule = "Host(`rss.flake.sh`)";
|
||||||
|
entrypoints = ["websecure"];
|
||||||
|
service = "miniflux";
|
||||||
|
tls.domains = [{main = "*.flake.sh";}];
|
||||||
|
tls.certresolver = "production";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
forgejo.loadBalancer = {
|
forgejo.loadBalancer = {
|
||||||
|
@ -181,6 +188,7 @@
|
||||||
attic.loadBalancer.servers = [{url = "http://100.104.42.96:8200";}];
|
attic.loadBalancer.servers = [{url = "http://100.104.42.96:8200";}];
|
||||||
minio.loadBalancer.servers = [{url = "http://100.69.79.81:9005";}];
|
minio.loadBalancer.servers = [{url = "http://100.69.79.81:9005";}];
|
||||||
woodpecker.loadBalancer.servers = [{url = "http://100.82.146.40:8200";}];
|
woodpecker.loadBalancer.servers = [{url = "http://100.82.146.40:8200";}];
|
||||||
|
miniflux.loadBalancer.servers = [{url = "http://100.121.201.47:9000";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,6 +8,5 @@
|
||||||
./wallos.nix
|
./wallos.nix
|
||||||
./homepage.nix
|
./homepage.nix
|
||||||
./searxng.nix
|
./searxng.nix
|
||||||
./miniflux.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,11 +45,6 @@ _: {
|
||||||
entrypoints = ["web"];
|
entrypoints = ["web"];
|
||||||
service = "hass";
|
service = "hass";
|
||||||
};
|
};
|
||||||
miniflux = {
|
|
||||||
rule = "Host(`news.internal.flake.sh`)";
|
|
||||||
entrypoints = ["web"];
|
|
||||||
service = "miniflux";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
||||||
|
@ -59,7 +54,6 @@ _: {
|
||||||
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
|
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
|
||||||
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||||
hass.loadBalancer.servers = [{url = "http://localhost:8123";}];
|
hass.loadBalancer.servers = [{url = "http://localhost:8123";}];
|
||||||
miniflux.loadBalancer.servers = [{url = "http://localhost:9000";}];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue