Configure kavita

This commit is contained in:
Nathan McCarty 2023-04-22 23:57:15 -04:00
parent bd2ed497a0
commit 5ee9cc3881
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
4 changed files with 25 additions and 0 deletions

View File

@ -62,6 +62,10 @@
device = "10.0.0.139:/mnt/tank/root/shares/archive"; device = "10.0.0.139:/mnt/tank/root/shares/archive";
fsType = "nfs"; fsType = "nfs";
}; };
fileSystems."/mnt/books" = {
device = "10.0.0.139:/mnt/tank/root/data/books";
fsType = "nfs";
};
swapDevices = [{ swapDevices = [{
device = "/dev/disk/by-partuuid/f9d26ecd-7df5-48ad-bc19-b9ac4e91b0ee"; device = "/dev/disk/by-partuuid/f9d26ecd-7df5-48ad-bc19-b9ac4e91b0ee";

View File

@ -42,6 +42,11 @@
fsType = "nfs"; fsType = "nfs";
}; };
fileSystems."/mnt/books" = {
device = "10.0.0.139:/mnt/tank/root/data/books";
fsType = "nfs";
};
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/06554e1d-4e6f-4693-88cb-ababf5e98d3d"; }]; [{ device = "/dev/disk/by-uuid/06554e1d-4e6f-4693-88cb-ababf5e98d3d"; }];

View File

@ -105,6 +105,12 @@
[ "/var/lib/jellyfin:/config" "/mnt/plex:/media" "/mnt/music:/music" ]; [ "/var/lib/jellyfin:/config" "/mnt/plex:/media" "/mnt/music:/music" ];
extraOptions = [ "--device=/dev/dri:/dev/dri" ]; extraOptions = [ "--device=/dev/dri:/dev/dri" ];
}; };
# Configure kavita
"kavita" = {
image = "kizaing/kavita:latest";
ports = [ "5000:5000" ];
volumes = [ "/var/lib/kavita:/kavita/config" "/mnt/books:/books" ];
};
# Configure tatulli - Plex Stats # Configure tatulli - Plex Stats
"tautulli" = { "tautulli" = {
image = "lscr.io/linuxserver/tautulli:latest"; image = "lscr.io/linuxserver/tautulli:latest";

View File

@ -219,6 +219,16 @@
''; '';
}; };
}; };
"kavita.mccarty.io" = {
forceSSL = true;
useACMEHost = "mccarty.io";
locations."/" = {
proxyPass = "http://100.121.150.78:5000";
extraConfig = ''
allow all;
'';
};
};
"calibre.mccarty.io" = { "calibre.mccarty.io" = {
forceSSL = true; forceSSL = true;
useACMEHost = "mccarty.io"; useACMEHost = "mccarty.io";