From ebf75ad5a32766c49b7d0bec4511c682efaae635 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 28 Nov 2023 17:46:40 -0800 Subject: [PATCH] Just run teslamate as whatever user... --- tesla-mate-container.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tesla-mate-container.nix b/tesla-mate-container.nix index b541931..a2efc64 100644 --- a/tesla-mate-container.nix +++ b/tesla-mate-container.nix @@ -23,12 +23,10 @@ let service = { image = teslaMateImage; restart = "always"; - volumes = [ "${stateDirectory}/import:/opt/app/import" ]; ports = [ "${toString teslaMatePort}:4000" ]; - user = "${toString teslaMateUid}:${toString teslaMateUid}"; env_file = [ teslaMateEnvFile ]; capabilities.ALL = false; - depends_on = { postgres.condition = "service_healthy"; }; + depends_on.postgres.condition = "service_healthy"; }; }; postgres = {