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 = {