Compare commits

..

3 commits

Author SHA1 Message Date
44d1c2302b
minio: listen on all hosts 2024-02-01 07:39:57 -05:00
7d0109668c
hosts: move miniflux to yuki 2024-02-01 07:39:28 -05:00
9db2de0b4f
postgres: backup miniflux 2024-02-01 07:38:45 -05:00
8 changed files with 14 additions and 13 deletions

View file

@ -61,7 +61,7 @@
}; };
services.postgresqlBackup = { services.postgresqlBackup = {
enable = true; enable = true;
databases = ["forgejo" "hedgedoc" "grafana" "authelia" "vaultwarden" "miniflux"]; databases = ["forgejo" "hedgedoc" "grafana" "authelia" "vaultwarden" "attic" "miniflux"];
compression = "zstd"; compression = "zstd";
compressionLevel = 4; compressionLevel = 4;
startAt = "*-*-* 23:00:00"; startAt = "*-*-* 23:00:00";

View file

@ -124,6 +124,7 @@
"wallos.internal.flake.sh" = "192.168.1.98"; "wallos.internal.flake.sh" = "192.168.1.98";
"synology.internal.flake.sh" = "192.168.1.71"; "synology.internal.flake.sh" = "192.168.1.71";
"paperless.internal.flake.sh" = "192.168.1.98"; "paperless.internal.flake.sh" = "192.168.1.98";
"rss.internal.flake.sh" = "192.168.1.98";
}; };
}; };
redis = { redis = {

View file

@ -18,8 +18,8 @@
services.minio = { services.minio = {
enable = true; enable = true;
region = "us-east-1"; region = "us-east-1";
consoleAddress = "100.69.79.81:9006"; consoleAddress = "0.0.0.0:9006";
listenAddress = "100.69.79.81:9005"; listenAddress = "0.0.0.0:9005";
rootCredentialsFile = config.sops.secrets.minio.path; rootCredentialsFile = config.sops.secrets.minio.path;
dataDir = ["/var/lib/slab/minio/data"]; dataDir = ["/var/lib/slab/minio/data"];
configDir = "/var/lib/slab/minio/config"; configDir = "/var/lib/slab/minio/config";

View file

@ -10,6 +10,5 @@
./conduit.nix ./conduit.nix
./tailscale.nix ./tailscale.nix
./justlog.nix ./justlog.nix
./miniflux.nix
]; ];
} }

View file

@ -160,13 +160,6 @@
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 = {
@ -188,7 +181,6 @@
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";}];
}; };
}; };
}; };

View file

@ -10,5 +10,6 @@
./searxng.nix ./searxng.nix
./anki-sync-server.nix ./anki-sync-server.nix
./paperless.nix ./paperless.nix
./miniflux.nix
]; ];
} }

View file

@ -11,7 +11,7 @@
config = { config = {
LISTEN_ADDR = "0.0.0.0"; LISTEN_ADDR = "0.0.0.0";
PORT = 9000; PORT = 9000;
BASE_URL = "https://rss.flake.sh"; BASE_URL = "https://rss.internal.flake.sh";
HTTPS = "true"; HTTPS = "true";
WEBAUTHN = "true"; WEBAUTHN = "true";
DATABASE_URL = lib.mkForce "host=100.94.214.100 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable"; DATABASE_URL = lib.mkForce "host=100.94.214.100 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable";

View file

@ -76,6 +76,13 @@
tls.domains = [{main = "*.internal.flake.sh";}]; tls.domains = [{main = "*.internal.flake.sh";}];
tls.certresolver = "production"; tls.certresolver = "production";
}; };
miniflux = {
rule = "Host(`rss.internal.flake.sh`)";
entrypoints = ["websecure"];
service = "miniflux";
tls.domains = [{main = "*.internal.flake.sh";}];
tls.certresolver = "production";
};
# kariru # kariru
sonarr = { sonarr = {
rule = "Host(`sonarr.internal.flake.sh`)"; rule = "Host(`sonarr.internal.flake.sh`)";
@ -137,6 +144,7 @@
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";}];
paperless.loadBalancer.servers = [{url = "http://localhost:28981";}]; paperless.loadBalancer.servers = [{url = "http://localhost:28981";}];
miniflux.loadBalancer.servers = [{url = "http://localhost:9000";}];
# kariru # kariru
sonarr.loadBalancer.servers = [{url = "http://192.168.1.54:8989";}]; sonarr.loadBalancer.servers = [{url = "http://192.168.1.54:8989";}];
radarr.loadBalancer.servers = [{url = "http://192.168.1.54:7878";}]; radarr.loadBalancer.servers = [{url = "http://192.168.1.54:7878";}];