Add test deployment of immich

This commit is contained in:
Pim Kunis 2024-06-05 21:22:17 +02:00
parent 26aae8c4c3
commit 588488fdf7
3 changed files with 24 additions and 3 deletions

View file

@ -354,11 +354,11 @@
"poetry2nix": "poetry2nix" "poetry2nix": "poetry2nix"
}, },
"locked": { "locked": {
"lastModified": 1716598957, "lastModified": 1717317124,
"narHash": "sha256-GEpG1s/mI+KuyOASS+Trd8nKN/JnITjDBKTJVUZEw2w=", "narHash": "sha256-37HqhTGXy67vrIETWeuS9lfqCCCM0MKs/nH+2bSTZZs=",
"owner": "farcaller", "owner": "farcaller",
"repo": "nixhelm", "repo": "nixhelm",
"rev": "fd331ebac52705fcecbd8a3c7e4e5250050ba5f8", "rev": "3dbce8dc473f2dc6122d093e3bdefbeb0a49b270",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -57,6 +57,16 @@
}; };
}; };
}; };
immich = {
chart = nixhelm.chartsDerivations.${system}.immich.immich;
includeCRDs = true;
values = {
immich.persistence.library.existingClaim = "immich-test";
redis.enabled = true;
postgresql.enabled = true;
};
};
}; };
resources.nodes = resources.nodes =
@ -69,5 +79,15 @@
}) })
machinesWithKubernetesLabels; machinesWithKubernetesLabels;
}; };
lab.ingresses.immich-test = {
host = "immich.kun.is";
entrypoint = "localsecure";
service = {
name = "immich-server";
portName = "http";
};
};
}; };
} }

View file

@ -25,6 +25,7 @@
bazarr.storage = "25Mi"; bazarr.storage = "25Mi";
attic.storage = "15Gi"; attic.storage = "15Gi";
attic-db.storage = "150Mi"; attic-db.storage = "150Mi";
immich-test.storage = "10Gi";
}; };
nfsVolumes = { nfsVolumes = {