Add kavita

This commit is contained in:
Nathan McCarty 2022-11-05 00:36:47 -04:00
parent 9ee1e83c59
commit 74000ba8d0
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 17 additions and 5 deletions

View File

@ -226,12 +226,24 @@
}; };
# Setup searx-ng docker # Setup searx-ng docker
virtualisation.oci-containers.containers."searx-ng" = { virtualisation.oci-containers.containers = {
"searx-ng" = {
image = "searxng/searxng"; image = "searxng/searxng";
autoStart = true; autoStart = true;
ports = [ "8091:8080" ]; ports = [ "8091:8080" ];
volumes = [ "/var/searxng:/etc/searxng" ]; volumes = [ "/var/searxng:/etc/searxng" ];
}; };
"kavita" = {
image = "kizaing/kavita";
autoStart = true;
ports = [ "5000:5000" ];
volumes = [
"./books:/var/kavita/books"
"./manga:/var/kavita/manga"
"./data:/var/kavita/config"
];
};
};
services.nginx.virtualHosts."searx-ng.mccarty.io" = { services.nginx.virtualHosts."searx-ng.mccarty.io" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;