Calibre
This commit is contained in:
parent
c70122078b
commit
b067aa18a2
|
@ -23,6 +23,7 @@ in {
|
|||
irisDesktopItem
|
||||
picard
|
||||
mpc-cli
|
||||
calibre
|
||||
];
|
||||
# Mopidy service
|
||||
# TODO: Add scrobbling
|
||||
|
|
|
@ -233,15 +233,17 @@
|
|||
ports = [ "8091:8080" ];
|
||||
volumes = [ "/var/searxng:/etc/searxng" ];
|
||||
};
|
||||
"kavita" = {
|
||||
image = "kizaing/kavita";
|
||||
"calibre" = {
|
||||
image = "linuxserver/calibre-web";
|
||||
autoStart = true;
|
||||
ports = [ "5000:5000" ];
|
||||
volumes = [
|
||||
"/var/kavita/books:/books"
|
||||
"/var/kavita/manga:/manga"
|
||||
"/var/kavita/config:/kavita/config"
|
||||
];
|
||||
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" = {
|
||||
|
|
|
@ -140,7 +140,17 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
"calibre.mccarty.io" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "mccarty.io";
|
||||
locations."/" = {
|
||||
proxyPass = "http://100.66.15.34:8083";
|
||||
extraConfig = ''
|
||||
allow 100.64.0.0/10;
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# Now we can configure ACME so we can get a star cert
|
||||
|
|
Loading…
Reference in New Issue