calibre 2
This commit is contained in:
parent
acfe5d132a
commit
4e61e8c118
|
@ -87,4 +87,18 @@
|
||||||
cores = 8;
|
cores = 8;
|
||||||
max-jobs = 4;
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -233,18 +233,6 @@
|
||||||
ports = [ "8091:8080" ];
|
ports = [ "8091:8080" ];
|
||||||
volumes = [ "/var/searxng:/etc/searxng" ];
|
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" = {
|
services.nginx.virtualHosts."searx-ng.mccarty.io" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "mccarty.io";
|
useACMEHost = "mccarty.io";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://100.66.15.34:8083";
|
proxyPass = "http://100.95.223.6:8083";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow 100.64.0.0/10;
|
allow 100.64.0.0/10;
|
||||||
deny all;
|
deny all;
|
||||||
|
|
Loading…
Reference in New Issue