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 irisDesktopItem
picard picard
mpc-cli mpc-cli
calibre
]; ];
# Mopidy service # Mopidy service
# TODO: Add scrobbling # TODO: Add scrobbling

View File

@ -233,15 +233,17 @@
ports = [ "8091:8080" ]; ports = [ "8091:8080" ];
volumes = [ "/var/searxng:/etc/searxng" ]; volumes = [ "/var/searxng:/etc/searxng" ];
}; };
"kavita" = { "calibre" = {
image = "kizaing/kavita"; image = "linuxserver/calibre-web";
autoStart = true; autoStart = true;
ports = [ "5000:5000" ]; ports = [ "8083:8083" ];
volumes = [ volumes = [ "/var/kavita/books:/books" "/var/kavita/config:/config" ];
"/var/kavita/books:/books" environment = {
"/var/kavita/manga:/manga" PUID = "1000";
"/var/kavita/config:/kavita/config" 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" = {

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 # Now we can configure ACME so we can get a star cert