kariru: add shoko && update services
This commit is contained in:
parent
6e9ebfef1b
commit
b74f983efd
2 changed files with 19 additions and 14 deletions
hosts/kariru/services
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
networking.firewall.allowedTCPPorts = [9292];
|
networking.firewall.allowedTCPPorts = [9292 8111];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./restic.nix
|
./restic.nix
|
||||||
|
@ -32,23 +32,28 @@
|
||||||
enable = false;
|
enable = false;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
sabnzbd.enable = true;
|
sabnzbd.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
whisparr = {
|
byparr = {
|
||||||
image = "ghcr.io/hotio/whisparr@sha256:d66f5dc01af747881e25b8e72aa45de30fba672c16df897af69257704fb61fe4"; # v3-3.0.0.545
|
image = "ghcr.io/thephaseless/byparr@sha256:9f83a6f5e5cec22a70abf3401a23164295a4b2e1ced37264907c3512981e527a"; # v3.3.21
|
||||||
ports = ["6969:6969"];
|
ports = ["8191:8191"];
|
||||||
volumes = [
|
|
||||||
"/var/lib/whisparr:/config"
|
|
||||||
"/stash:/media/stash"
|
|
||||||
"/media/downloads:/media/downloads"
|
|
||||||
];
|
|
||||||
extraOptions = ["--network=host"];
|
extraOptions = ["--network=host"];
|
||||||
};
|
};
|
||||||
flaresolverr = {
|
shoko = {
|
||||||
image = "ghcr.io/flaresolverr/flaresolverr@sha256:5f5661db1e69a6f80ac24d47d9fa5580f6f741ee5ec967818396ae0dacecd7ea"; # v3.3.17
|
image = "ghcr.io/shokoanime/server@sha256:dde0c5a8bddc226ae368827fd7df382602ad312a2337ebade8e5cc63fa0c4dac"; # v5.1.0
|
||||||
ports = ["8191:8191"];
|
ports = ["8111:8111"];
|
||||||
|
environment = {
|
||||||
|
PUID = "1000";
|
||||||
|
PGID = "1000";
|
||||||
|
TZ = "Etc/UTC";
|
||||||
|
};
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/shoko:/home/shoko/.shoko"
|
||||||
|
"/media/anime:/media/anime"
|
||||||
|
"/media/anime-movies:/media/anime-movies"
|
||||||
|
];
|
||||||
extraOptions = ["--network=host"];
|
extraOptions = ["--network=host"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
extraOptions = ["--cap-add=NET_ADMIN" "--device=/dev/net/tun:/dev/net/tun"];
|
extraOptions = ["--cap-add=NET_ADMIN" "--device=/dev/net/tun:/dev/net/tun"];
|
||||||
};
|
};
|
||||||
qbittorrent = {
|
qbittorrent = {
|
||||||
image = "linuxserver/qbittorrent@sha256:8e541cfd4dc991ba43901314b465067fe287728d7d6fd8ae911958d0b9df184c"; # v5.0.3
|
image = "linuxserver/qbittorrent@sha256:50f490770308d0351e12618422e74e0613721b080f5db0bf840cf66a7281eea8"; # v5.0.4
|
||||||
dependsOn = ["gluetun"];
|
dependsOn = ["gluetun"];
|
||||||
environment = {
|
environment = {
|
||||||
PUID = "1001";
|
PUID = "1001";
|
||||||
|
|
Loading…
Add table
Reference in a new issue