calibre 2

This commit is contained in:
Nathan McCarty 2022-11-05 03:18:08 -04:00
parent acfe5d132a
commit 4e61e8c118
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
3 changed files with 15 additions and 13 deletions

View File

@ -87,4 +87,18 @@
cores = 8;
max-jobs = 4;
};
# Calibre
services.calibre-web = {
enable = true;
user = "nathan";
group = "users";
openFirewall = true;
listen = { ip = "100.95.223.6"; };
options = {
calibreLibrary = "/home/nathan/Books";
enableBookConversion = true;
enableBookUploading = true;
};
};
}

View File

@ -233,18 +233,6 @@
ports = [ "8091:8080" ];
volumes = [ "/var/searxng:/etc/searxng" ];
};
"calibre" = {
image = "linuxserver/calibre-web";
autoStart = true;
ports = [ "8083:8083" ];
volumes = [ "/var/kavita/books:/books" "/var/kavita/config:/config" ];
environment = {
PUID = "1000";
GUID = "1000";
TZ = "Europe/London";
DOCKER_MODS = "linuxserver/mods:universal-calibre";
};
};
};
services.nginx.virtualHosts."searx-ng.mccarty.io" = {
enableACME = true;

View File

@ -144,7 +144,7 @@
forceSSL = true;
useACMEHost = "mccarty.io";
locations."/" = {
proxyPass = "http://100.66.15.34:8083";
proxyPass = "http://100.95.223.6:8083";
extraConfig = ''
allow 100.64.0.0/10;
deny all;