This commit is contained in:
Nathan McCarty 2022-11-05 00:53:20 -04:00
parent c70122078b
commit b067aa18a2
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
3 changed files with 22 additions and 9 deletions

View File

@ -23,6 +23,7 @@ in {
irisDesktopItem
picard
mpc-cli
calibre
];
# Mopidy service
# TODO: Add scrobbling

View File

@ -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" = {

View File

@ -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