From 713b1c42c2ffe95f6fd6f494d883be623968bb51 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 22 May 2024 10:34:19 -0700 Subject: [PATCH] Switch back to docker-compose? --- immich-ml-container.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index 4d8c4b0..71f6cc7 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -6,7 +6,9 @@ let immichMlConfigYaml = pkgs.writeText "immich-ml-compose.yml" (builtins.toJSON { version = "3.4"; + name = "immich-machine-learning"; networks.default.name = "immich-ml"; + volumes = { }; services.immich-ml = { image = @@ -58,10 +60,10 @@ in { services.immich-machine-learning = { after = [ "network-online.target" ]; before = [ "nginx.service" ]; - path = with pkgs; [ podman-compose podman coreutils ]; + path = with pkgs; [ docker-compose nvidia-podman coreutils ]; serviceConfig = { ExecStart = pkgs.writeShellScript "immich-machine-learning" '' - podman-compose -f ${immichMlConfigYaml} up + docker-compose -f ${immichMlConfigYaml} up ''; }; };