Compare commits
2 Commits
2c959fdc0c
...
b89934d13f
| Author | SHA1 | Date | |
|---|---|---|---|
|
b89934d13f
|
|||
|
734dfcadfc
|
@ -28,6 +28,7 @@
|
||||
../services/gitea.nix
|
||||
../services/immich.nix
|
||||
../services/jellyfin.nix
|
||||
../services/kiwix.nix
|
||||
../services/kopia.nix
|
||||
../services/nextcloud.nix
|
||||
../services/nginx-proxy-manager.nix
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
}: let
|
||||
vectorchordVersion = "0.4.2";
|
||||
pgvectorsVersion = "0.2.0";
|
||||
immichVersion = "2.3.1";
|
||||
immichVersion = "2.5.2";
|
||||
in {
|
||||
virtualisation.oci-containers.containers = {
|
||||
immich-database = {
|
||||
|
||||
40
system/services/kiwix.nix
Normal file
40
system/services/kiwix.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
kiwixVersion = "3.8.1";
|
||||
in {
|
||||
virtualisation.oci-containers.containers = {
|
||||
kiwix = {
|
||||
image = "ghcr.io/kiwix/kiwix-serve:${kiwixVersion}";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
|
||||
ports = [
|
||||
# "8080:80"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
# TODO: Add network location for .zim files
|
||||
"kiwix_data:/data"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = "1000";
|
||||
PGID = "1000";
|
||||
TZ = "Europe/Berlin";
|
||||
};
|
||||
|
||||
cmd = ["*.zim"];
|
||||
|
||||
extraOptions = [
|
||||
# "--privileged"
|
||||
# "--device=nvidia.com/gpu=all"
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user