[immich] Adds but disabled Immich because it's crashing on start-up

This commit is contained in:
2025-09-25 17:23:01 -07:00
parent 05c001081e
commit 3b8e38e702
5 changed files with 114 additions and 30 deletions

View File

@@ -70,15 +70,14 @@ in
extraOptions
;
autoStart = true;
labels =
{
"traefik.enable" = "true";
"traefik.http.routers.${hostName}.rule" = "${routerRule}";
"traefik.http.services.${hostName}.loadbalancer.server.port" = "${toString port}";
}
// oauthLabels
// homepageLabels
// extraLabels;
labels = {
"traefik.enable" = "true";
"traefik.http.routers.${hostName}.rule" = "${routerRule}";
"traefik.http.services.${hostName}.loadbalancer.server.port" = "${toString port}";
}
// oauthLabels
// homepageLabels
// extraLabels;
};
# Creates a MariaDB container for a specific app. It should be safe to give
@@ -127,11 +126,12 @@ in
containerName ? "${name}-postgres",
databaseName ? name,
username ? name,
image ? "postgres",
}:
{ config, ... }:
{
virtualisation.oci-containers.containers."${containerName}" = {
image = "postgres";
inherit image;
autoStart = true;
volumes = [
# Note that data must be mounted at this location to persist.